Class: Aws::SecurityHub::Errors::InternalException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::SecurityHub::Errors::InternalException
- Defined in:
- lib/aws-sdk-securityhub/errors.rb
Instance Method Summary collapse
- #code ⇒ 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.
70 71 72 |
# File 'lib/aws-sdk-securityhub/errors.rb', line 70 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#code ⇒ String
80 81 82 |
# File 'lib/aws-sdk-securityhub/errors.rb', line 80 def code @code || @data[:code] end |
#message ⇒ String
75 76 77 |
# File 'lib/aws-sdk-securityhub/errors.rb', line 75 def @message || @data[:message] end |