Class: Aws::CognitoIdentityProvider::Errors::UserNotConfirmedException

Inherits:
ServiceError
  • Object
show all
Defined in:
lib/aws-sdk-cognitoidentityprovider/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ UserNotConfirmedException

Returns a new instance of UserNotConfirmedException.

Parameters:

[View source]

639
640
641
# File 'lib/aws-sdk-cognitoidentityprovider/errors.rb', line 639

def initialize(context, message, data = Aws::EmptyStructure.new)
  super(context, message, data)
end

Instance Method Details

#messageString

Returns:

  • (String)
[View source]

644
645
646
# File 'lib/aws-sdk-cognitoidentityprovider/errors.rb', line 644

def message
  @message || @data[:message]
end