Class: Aws::SSOOIDC::Errors::UnsupportedGrantTypeException

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

Returns a new instance of UnsupportedGrantTypeException.

Parameters:



274
275
276
# File 'gems/aws-sdk-ssooidc/lib/aws-sdk-ssooidc/errors.rb', line 274

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

Instance Method Details

#errorString

Returns:

  • (String)


279
280
281
# File 'gems/aws-sdk-ssooidc/lib/aws-sdk-ssooidc/errors.rb', line 279

def error
  @data[:error]
end

#error_descriptionString

Returns:

  • (String)


284
285
286
# File 'gems/aws-sdk-ssooidc/lib/aws-sdk-ssooidc/errors.rb', line 284

def error_description
  @data[:error_description]
end