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

Inherits:
ServiceError
  • Object
show all
Defined in:
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:



176
177
178
# File 'lib/aws-sdk-ssooidc/errors.rb', line 176

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

Instance Method Details

#errorString

Returns:

  • (String)


181
182
183
# File 'lib/aws-sdk-ssooidc/errors.rb', line 181

def error
  @data[:error]
end

#error_descriptionString

Returns:

  • (String)


186
187
188
# File 'lib/aws-sdk-ssooidc/errors.rb', line 186

def error_description
  @data[:error_description]
end