Class: Aws::SecurityHub::Errors::InternalException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::SecurityHub::Errors::InternalException
- Defined in:
- gems/aws-sdk-securityhub/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.
94 95 96 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/errors.rb', line 94 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#code ⇒ String
104 105 106 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/errors.rb', line 104 def code @code || @data[:code] end |
#message ⇒ String
99 100 101 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/errors.rb', line 99 def @message || @data[:message] end |