Sha256: 365426ce6b72edb215b2783f3acac2c0282b9a10224f7de56c5626362d930224

Contents?: true

Size: 604 Bytes

Versions: 8

Compression:

Stored size: 604 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
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
bson-4.9.3-java lib/bson/error.rb
bson-4.9.3 lib/bson/error.rb
bson-4.9.2-java lib/bson/error.rb
bson-4.9.2 lib/bson/error.rb
bson-4.9.1-java lib/bson/error.rb
bson-4.9.1 lib/bson/error.rb
bson-4.9.0-java lib/bson/error.rb
bson-4.9.0 lib/bson/error.rb