Exception: Aws::Json::ParseError Private

Inherits:
StandardError
  • Object
show all
Defined in:
lib/aws-sdk-core/json.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 Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(error) ⇒ ParseError

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



13
14
15
16
# File 'lib/aws-sdk-core/json.rb', line 13

def initialize(error)
  @error = error
  super(error.message)
end

Instance Attribute Details

#errorObject (readonly)

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.



18
19
20
# File 'lib/aws-sdk-core/json.rb', line 18

def error
  @error
end