Class: Aws::CognitoIdentityProvider::Errors::UserNotFoundException

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) ⇒ UserNotFoundException

Returns a new instance of UserNotFoundException.

Parameters:



714
715
716
# File 'lib/aws-sdk-cognitoidentityprovider/errors.rb', line 714

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

Instance Method Details

#messageString

Returns:

  • (String)


719
720
721
# File 'lib/aws-sdk-cognitoidentityprovider/errors.rb', line 719

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