Class: Aws::EFS::Errors::SecurityGroupNotFound
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::EFS::Errors::SecurityGroupNotFound
- Defined in:
- lib/aws-sdk-efs/errors.rb
Instance Method Summary collapse
- #error_code ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ SecurityGroupNotFound
constructor
A new instance of SecurityGroupNotFound.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ SecurityGroupNotFound
Returns a new instance of SecurityGroupNotFound.
584 585 586 |
# File 'lib/aws-sdk-efs/errors.rb', line 584 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#error_code ⇒ String
589 590 591 |
# File 'lib/aws-sdk-efs/errors.rb', line 589 def error_code @data[:error_code] end |
#message ⇒ String
594 595 596 |
# File 'lib/aws-sdk-efs/errors.rb', line 594 def @message || @data[:message] end |