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

Inherits:
ServiceError
  • Object
show all
Defined in:
gems/aws-sdk-cognitoidentityprovider/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:



929
930
931
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/errors.rb', line 929

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

Instance Method Details

#messageString

Returns:

  • (String)


934
935
936
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/errors.rb', line 934

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