Class: Aws::Chime::Errors::UnauthorizedClientException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Chime::Errors::UnauthorizedClientException
- Defined in:
- gems/aws-sdk-chime/lib/aws-sdk-chime/errors.rb
Instance Method Summary collapse
-
#code ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ UnauthorizedClientException
constructor
A new instance of UnauthorizedClientException.
-
#message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ UnauthorizedClientException
Returns a new instance of UnauthorizedClientException.
233 234 235 |
# File 'gems/aws-sdk-chime/lib/aws-sdk-chime/errors.rb', line 233 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#code ⇒ String
238 239 240 |
# File 'gems/aws-sdk-chime/lib/aws-sdk-chime/errors.rb', line 238 def code @code || @data[:code] end |
#message ⇒ String
243 244 245 |
# File 'gems/aws-sdk-chime/lib/aws-sdk-chime/errors.rb', line 243 def @message || @data[:message] end |