Class: Aws::WellArchitected::Errors::ValidationException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::WellArchitected::Errors::ValidationException
- Defined in:
- lib/aws-sdk-wellarchitected/errors.rb
Instance Method Summary collapse
- #fields ⇒ 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.
189 190 191 |
# File 'lib/aws-sdk-wellarchitected/errors.rb', line 189 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#fields ⇒ String
204 205 206 |
# File 'lib/aws-sdk-wellarchitected/errors.rb', line 204 def fields @data[:fields] end |
#message ⇒ String
194 195 196 |
# File 'lib/aws-sdk-wellarchitected/errors.rb', line 194 def @message || @data[:message] end |
#reason ⇒ String
199 200 201 |
# File 'lib/aws-sdk-wellarchitected/errors.rb', line 199 def reason @data[:reason] end |