Class: Aws::NimbleStudio::Errors::InternalServerErrorException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::NimbleStudio::Errors::InternalServerErrorException
- Defined in:
- lib/aws-sdk-nimblestudio/errors.rb
Instance Method Summary collapse
- #code ⇒ String
- #context ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InternalServerErrorException
constructor
A new instance of InternalServerErrorException.
- #message ⇒ String
- #retryable? ⇒ Boolean
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InternalServerErrorException
Returns a new instance of InternalServerErrorException.
99 100 101 |
# File 'lib/aws-sdk-nimblestudio/errors.rb', line 99 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#code ⇒ String
104 105 106 |
# File 'lib/aws-sdk-nimblestudio/errors.rb', line 104 def code @code || @data[:code] end |
#context ⇒ String
109 110 111 |
# File 'lib/aws-sdk-nimblestudio/errors.rb', line 109 def context @data[:context] end |
#message ⇒ String
114 115 116 |
# File 'lib/aws-sdk-nimblestudio/errors.rb', line 114 def @message || @data[:message] end |
#retryable? ⇒ Boolean
118 119 120 |
# File 'lib/aws-sdk-nimblestudio/errors.rb', line 118 def retryable? true end |