Class: Aws::Chime::Errors::UnauthorizedClientException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of UnauthorizedClientException.

Parameters:



233
234
235
# File 'gems/aws-sdk-chime/lib/aws-sdk-chime/errors.rb', line 233

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

Instance Method Details

#codeString

Returns:

  • (String)


238
239
240
# File 'gems/aws-sdk-chime/lib/aws-sdk-chime/errors.rb', line 238

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

#messageString

Returns:

  • (String)


243
244
245
# File 'gems/aws-sdk-chime/lib/aws-sdk-chime/errors.rb', line 243

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