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.



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

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.



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

def error
  @error
end