Class: Aws::CognitoIdentityProvider::Errors::WebAuthnOriginNotAllowedException

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

Returns a new instance of WebAuthnOriginNotAllowedException.

Parameters:



849
850
851
# File 'lib/aws-sdk-cognitoidentityprovider/errors.rb', line 849

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

Instance Method Details

#messageString

Returns:

  • (String)


854
855
856
# File 'lib/aws-sdk-cognitoidentityprovider/errors.rb', line 854

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