Class: Aws::EFS::Errors::NoFreeAddressesInSubnet
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::EFS::Errors::NoFreeAddressesInSubnet
- Defined in:
- lib/aws-sdk-efs/errors.rb
Instance Method Summary collapse
- #error_code ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ NoFreeAddressesInSubnet
constructor
A new instance of NoFreeAddressesInSubnet.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ NoFreeAddressesInSubnet
Returns a new instance of NoFreeAddressesInSubnet.
484 485 486 |
# File 'lib/aws-sdk-efs/errors.rb', line 484 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#error_code ⇒ String
489 490 491 |
# File 'lib/aws-sdk-efs/errors.rb', line 489 def error_code @data[:error_code] end |
#message ⇒ String
494 495 496 |
# File 'lib/aws-sdk-efs/errors.rb', line 494 def @message || @data[:message] end |