Class: Aws::IoT::Errors::RegistrationCodeValidationException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::IoT::Errors::RegistrationCodeValidationException
- Defined in:
- lib/aws-sdk-iot/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ RegistrationCodeValidationException
constructor
A new instance of RegistrationCodeValidationException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ RegistrationCodeValidationException
Returns a new instance of RegistrationCodeValidationException.
350 351 352 |
# File 'lib/aws-sdk-iot/errors.rb', line 350 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
355 356 357 |
# File 'lib/aws-sdk-iot/errors.rb', line 355 def @message || @data[:message] end |