Class: Aws::CognitoIdentityProvider::Errors::MFAMethodNotFoundException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::CognitoIdentityProvider::Errors::MFAMethodNotFoundException
- Defined in:
- lib/aws-sdk-cognitoidentityprovider/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ MFAMethodNotFoundException
constructor
A new instance of MFAMethodNotFoundException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ MFAMethodNotFoundException
Returns a new instance of MFAMethodNotFoundException.
369 370 371 |
# File 'lib/aws-sdk-cognitoidentityprovider/errors.rb', line 369 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
374 375 376 |
# File 'lib/aws-sdk-cognitoidentityprovider/errors.rb', line 374 def @message || @data[:message] end |