Class: Aws::SSOOIDC::Errors::InvalidGrantException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of InvalidGrantException.

Parameters:



174
175
176
# File 'gems/aws-sdk-ssooidc/lib/aws-sdk-ssooidc/errors.rb', line 174

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

Instance Method Details

#errorString

Returns:

  • (String)


179
180
181
# File 'gems/aws-sdk-ssooidc/lib/aws-sdk-ssooidc/errors.rb', line 179

def error
  @data[:error]
end

#error_descriptionString

Returns:

  • (String)


184
185
186
# File 'gems/aws-sdk-ssooidc/lib/aws-sdk-ssooidc/errors.rb', line 184

def error_description
  @data[:error_description]
end