Class: Aws::EFS::Errors::NoFreeAddressesInSubnet

Inherits:
ServiceError
  • Object
show all
Defined in:
lib/aws-sdk-efs/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ NoFreeAddressesInSubnet

Returns a new instance of NoFreeAddressesInSubnet.

Parameters:



484
485
486
# File 'lib/aws-sdk-efs/errors.rb', line 484

def initialize(context, message, data = Aws::EmptyStructure.new)
  super(context, message, data)
end

Instance Method Details

#error_codeString

Returns:

  • (String)


489
490
491
# File 'lib/aws-sdk-efs/errors.rb', line 489

def error_code
  @data[:error_code]
end

#messageString

Returns:

  • (String)


494
495
496
# File 'lib/aws-sdk-efs/errors.rb', line 494

def message
  @message || @data[:message]
end