Exception: Aws::Cbor::ExtraBytesError Private

Inherits:
Error
  • Object
show all
Defined in:
lib/aws-sdk-core/cbor.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Constructor Details

#initialize(pos, size) ⇒ ExtraBytesError

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of ExtraBytesError.



40
41
42
# File 'lib/aws-sdk-core/cbor.rb', line 40

def initialize(pos, size)
  super("Extra bytes follow after decoding item. Read #{pos} / #{size} bytes")
end