Class: Aws::SecurityHub::Errors::InternalServerException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::SecurityHub::Errors::InternalServerException
- Defined in:
- lib/aws-sdk-securityhub/errors.rb
Instance Method Summary collapse
- #code ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InternalServerException
constructor
A new instance of InternalServerException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InternalServerException
Returns a new instance of InternalServerException.
117 118 119 |
# File 'lib/aws-sdk-securityhub/errors.rb', line 117 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#code ⇒ String
127 128 129 |
# File 'lib/aws-sdk-securityhub/errors.rb', line 127 def code @code || @data[:code] end |
#message ⇒ String
122 123 124 |
# File 'lib/aws-sdk-securityhub/errors.rb', line 122 def @message || @data[:message] end |