Class: Aws::Inspector::Errors::InternalException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Inspector::Errors::InternalException
- Defined in:
- gems/aws-sdk-inspector/lib/aws-sdk-inspector/errors.rb
Instance Method Summary collapse
-
#can_retry ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InternalException
constructor
A new instance of InternalException.
-
#message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InternalException
Returns a new instance of InternalException.
138 139 140 |
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/errors.rb', line 138 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#can_retry ⇒ String
148 149 150 |
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/errors.rb', line 148 def can_retry @data[:can_retry] end |
#message ⇒ String
143 144 145 |
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/errors.rb', line 143 def @message || @data[:message] end |