Sha256: 75ae57e0d75166e10120647bde2047cf16bd7e98fd28fdd8b86357f6a2ab4cc4

Contents?: true

Size: 512 Bytes

Versions: 6

Compression:

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
bson-4.8.2-java lib/bson/error.rb
bson-4.8.2 lib/bson/error.rb
bson-4.8.1-java lib/bson/error.rb
bson-4.8.1 lib/bson/error.rb
bson-4.8.0-java lib/bson/error.rb
bson-4.8.0 lib/bson/error.rb