Class: Aws::CognitoIdentityProvider::Errors::PasswordResetRequiredException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::CognitoIdentityProvider::Errors::PasswordResetRequiredException
- Defined in:
- lib/aws-sdk-cognitoidentityprovider/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ PasswordResetRequiredException
constructor
A new instance of PasswordResetRequiredException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ PasswordResetRequiredException
Returns a new instance of PasswordResetRequiredException.
414 415 416 |
# File 'lib/aws-sdk-cognitoidentityprovider/errors.rb', line 414 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
419 420 421 |
# File 'lib/aws-sdk-cognitoidentityprovider/errors.rb', line 419 def @message || @data[:message] end |