Class: Aws::EFS::Errors::PolicyNotFound
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::EFS::Errors::PolicyNotFound
- Defined in:
- lib/aws-sdk-efs/errors.rb
Instance Method Summary collapse
- #error_code ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ PolicyNotFound
constructor
A new instance of PolicyNotFound.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ PolicyNotFound
Returns a new instance of PolicyNotFound.
504 505 506 |
# File 'lib/aws-sdk-efs/errors.rb', line 504 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#error_code ⇒ String
509 510 511 |
# File 'lib/aws-sdk-efs/errors.rb', line 509 def error_code @data[:error_code] end |
#message ⇒ String
514 515 516 |
# File 'lib/aws-sdk-efs/errors.rb', line 514 def @message || @data[:message] end |