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.


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

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.


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

def error
  @error
end