Class: Aws::NimbleStudio::Errors::ThrottlingException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::NimbleStudio::Errors::ThrottlingException
- Defined in:
- lib/aws-sdk-nimblestudio/errors.rb
Instance Method Summary collapse
- #code ⇒ String
- #context ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ThrottlingException
constructor
A new instance of ThrottlingException.
- #message ⇒ String
- #retryable? ⇒ Boolean
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ThrottlingException
Returns a new instance of ThrottlingException.
178 179 180 |
# File 'lib/aws-sdk-nimblestudio/errors.rb', line 178 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#code ⇒ String
183 184 185 |
# File 'lib/aws-sdk-nimblestudio/errors.rb', line 183 def code @code || @data[:code] end |
#context ⇒ String
188 189 190 |
# File 'lib/aws-sdk-nimblestudio/errors.rb', line 188 def context @data[:context] end |
#message ⇒ String
193 194 195 |
# File 'lib/aws-sdk-nimblestudio/errors.rb', line 193 def @message || @data[:message] end |
#retryable? ⇒ Boolean
197 198 199 |
# File 'lib/aws-sdk-nimblestudio/errors.rb', line 197 def retryable? true end |