Exception: Aws::Cbor::OutOfBytesError 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(n, left) ⇒ OutOfBytesError

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 OutOfBytesError.



25
26
27
# File 'lib/aws-sdk-core/cbor.rb', line 25

def initialize(n, left)
  super("Out of bytes. Trying to read #{n} bytes but buffer contains only #{left}")
end