Class: Aws::IoT::Errors::ValidationException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::IoT::Errors::ValidationException
- Defined in:
- gems/aws-sdk-iot/lib/aws-sdk-iot/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ValidationException
constructor
A new instance of ValidationException.
-
#message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ValidationException
Returns a new instance of ValidationException.
540 541 542 |
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/errors.rb', line 540 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
545 546 547 |
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/errors.rb', line 545 def @message || @data[:message] end |