Class: Aws::ChimeSDKMessaging::Errors::UnauthorizedClientException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::ChimeSDKMessaging::Errors::UnauthorizedClientException
- Defined in:
- lib/aws-sdk-chimesdkmessaging/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.
211 212 213 |
# File 'lib/aws-sdk-chimesdkmessaging/errors.rb', line 211 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#code ⇒ String
216 217 218 |
# File 'lib/aws-sdk-chimesdkmessaging/errors.rb', line 216 def code @code || @data[:code] end |
#message ⇒ String
221 222 223 |
# File 'lib/aws-sdk-chimesdkmessaging/errors.rb', line 221 def @message || @data[:message] end |