Class: Aws::GreengrassV2::Errors::ValidationException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::GreengrassV2::Errors::ValidationException
- Defined in:
- lib/aws-sdk-greengrassv2/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.
215 216 217 |
# File 'lib/aws-sdk-greengrassv2/errors.rb', line 215 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#fields ⇒ String
230 231 232 |
# File 'lib/aws-sdk-greengrassv2/errors.rb', line 230 def fields @data[:fields] end |
#message ⇒ String
220 221 222 |
# File 'lib/aws-sdk-greengrassv2/errors.rb', line 220 def @message || @data[:message] end |
#reason ⇒ String
225 226 227 |
# File 'lib/aws-sdk-greengrassv2/errors.rb', line 225 def reason @data[:reason] end |