Sha256: 9e5f2f9c0a8d2bf827fc5de5af633fe9702c412c33ba8bafe9c9891ee6f225eb

Contents?: true

Size: 219 Bytes

Versions: 3

Compression:

Stored size: 219 Bytes

Contents

module Cborb
  class Error < ::StandardError; end

  class DecodingError < Error; end

  class InvalidByteSequenceError < DecodingError
    def initialize
      super("CBOR has invalid byte sequence")
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cborb-0.3.0 lib/cborb/errors.rb
cborb-0.2.0 lib/cborb/errors.rb
cborb-0.1.0 lib/cborb/errors.rb