Exception: Aws::Cbor::ExtraBytesError Private
- 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
-
#initialize(pos, size) ⇒ ExtraBytesError
constructor
private
A new instance of ExtraBytesError.
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 |