Class: Aws::GeoPlaces::Errors::ValidationException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::GeoPlaces::Errors::ValidationException
- Defined in:
- lib/aws-sdk-geoplaces/errors.rb
Instance Method Summary collapse
- #field_list ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ValidationException
constructor
A new instance of ValidationException.
- #message ⇒ String
- #reason ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ValidationException
Returns a new instance of ValidationException.
99 100 101 |
# File 'lib/aws-sdk-geoplaces/errors.rb', line 99 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#field_list ⇒ String
114 115 116 |
# File 'lib/aws-sdk-geoplaces/errors.rb', line 114 def field_list @data[:field_list] end |
#message ⇒ String
104 105 106 |
# File 'lib/aws-sdk-geoplaces/errors.rb', line 104 def @message || @data[:message] end |
#reason ⇒ String
109 110 111 |
# File 'lib/aws-sdk-geoplaces/errors.rb', line 109 def reason @data[:reason] end |