Sha256: 39586907ca83c0f5c18b8833e68f3fcb0b90ce6b8ade0c88bb634b4a3e7e6cd9
Contents?: true
Size: 825 Bytes
Versions: 17
Compression:
Stored size: 825 Bytes
Contents
module BSON # Base exception class for all BSON-related errors. # # @note Many existing exceptions raised by bson-ruby do not derive from # this base class. This will change in the next major version (5.0). class Error < StandardError # Exception raised when Extended JSON parsing fails. class ExtJSONParseError < Error end # Exception raised when decoding BSON and the data contains an # unsupported binary subtype. class UnsupportedBinarySubtype < Error end # Exception raised when BSON decoding fails. class BSONDecodeError < Error end # Exception raised when serializing an Array or Hash to BSON and an # array or hash element is of a class that does not define how to serialize # itself to BSON. class UnserializableClass < Error end end end
Version data entries
17 entries across 17 versions & 2 rubygems