Class: Aws::GuardDuty::Errors::InternalServerErrorException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::GuardDuty::Errors::InternalServerErrorException
- Defined in:
- gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InternalServerErrorException
constructor
A new instance of InternalServerErrorException.
-
#message ⇒ String
-
#type ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InternalServerErrorException
Returns a new instance of InternalServerErrorException.
106 107 108 |
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/errors.rb', line 106 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
111 112 113 |
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/errors.rb', line 111 def @message || @data[:message] end |
#type ⇒ String
116 117 118 |
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/errors.rb', line 116 def type @data[:type] end |