Class: Aws::CodeGuruSecurity::Errors::InternalServerException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::CodeGuruSecurity::Errors::InternalServerException
- Defined in:
- lib/aws-sdk-codegurusecurity/errors.rb
Instance Method Summary collapse
- #error ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InternalServerException
constructor
A new instance of InternalServerException.
- #message ⇒ String
- #retryable? ⇒ Boolean
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InternalServerException
Returns a new instance of InternalServerException.
108 109 110 |
# File 'lib/aws-sdk-codegurusecurity/errors.rb', line 108 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#error ⇒ String
113 114 115 |
# File 'lib/aws-sdk-codegurusecurity/errors.rb', line 113 def error @data[:error] end |
#message ⇒ String
118 119 120 |
# File 'lib/aws-sdk-codegurusecurity/errors.rb', line 118 def @message || @data[:message] end |
#retryable? ⇒ Boolean
122 123 124 |
# File 'lib/aws-sdk-codegurusecurity/errors.rb', line 122 def retryable? true end |