Class: Aws::EFS::Errors::UnsupportedAvailabilityZone
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::EFS::Errors::UnsupportedAvailabilityZone
- Defined in:
- lib/aws-sdk-efs/errors.rb
Instance Method Summary collapse
- #error_code ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ UnsupportedAvailabilityZone
constructor
A new instance of UnsupportedAvailabilityZone.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ UnsupportedAvailabilityZone
Returns a new instance of UnsupportedAvailabilityZone.
684 685 686 |
# File 'lib/aws-sdk-efs/errors.rb', line 684 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#error_code ⇒ String
689 690 691 |
# File 'lib/aws-sdk-efs/errors.rb', line 689 def error_code @data[:error_code] end |
#message ⇒ String
694 695 696 |
# File 'lib/aws-sdk-efs/errors.rb', line 694 def @message || @data[:message] end |