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.



28
29
30
# File 'lib/aws-sdk-core/cbor.rb', line 28

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