Class: Aws::EFS::Errors::InternalServerError
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::EFS::Errors::InternalServerError
- Defined in:
- lib/aws-sdk-efs/errors.rb
Instance Method Summary collapse
- #error_code ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InternalServerError
constructor
A new instance of InternalServerError.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InternalServerError
Returns a new instance of InternalServerError.
364 365 366 |
# File 'lib/aws-sdk-efs/errors.rb', line 364 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#error_code ⇒ String
369 370 371 |
# File 'lib/aws-sdk-efs/errors.rb', line 369 def error_code @data[:error_code] end |
#message ⇒ String
374 375 376 |
# File 'lib/aws-sdk-efs/errors.rb', line 374 def @message || @data[:message] end |