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.



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

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.



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

def error
  @error
end