Class: Aws::EFS::Errors::MountTargetNotFound
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::EFS::Errors::MountTargetNotFound
- Defined in:
- lib/aws-sdk-efs/errors.rb
Instance Method Summary collapse
- #error_code ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ MountTargetNotFound
constructor
A new instance of MountTargetNotFound.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ MountTargetNotFound
Returns a new instance of MountTargetNotFound.
444 445 446 |
# File 'lib/aws-sdk-efs/errors.rb', line 444 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#error_code ⇒ String
449 450 451 |
# File 'lib/aws-sdk-efs/errors.rb', line 449 def error_code @data[:error_code] end |
#message ⇒ String
454 455 456 |
# File 'lib/aws-sdk-efs/errors.rb', line 454 def @message || @data[:message] end |