Class: Aws::Chime::Errors::ThrottledClientException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Chime::Errors::ThrottledClientException
- 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) ⇒ ThrottledClientException
constructor
A new instance of ThrottledClientException.
-
#message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ThrottledClientException
Returns a new instance of ThrottledClientException.
213 214 215 |
# File 'gems/aws-sdk-chime/lib/aws-sdk-chime/errors.rb', line 213 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#code ⇒ String
218 219 220 |
# File 'gems/aws-sdk-chime/lib/aws-sdk-chime/errors.rb', line 218 def code @code || @data[:code] end |
#message ⇒ String
223 224 225 |
# File 'gems/aws-sdk-chime/lib/aws-sdk-chime/errors.rb', line 223 def @message || @data[:message] end |