Class: Aws::EFS::Errors::NetworkInterfaceLimitExceeded

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) ⇒ NetworkInterfaceLimitExceeded

Returns a new instance of NetworkInterfaceLimitExceeded.

Parameters:



464
465
466
# File 'lib/aws-sdk-efs/errors.rb', line 464

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

Instance Method Details

#error_codeString

Returns:

  • (String)


469
470
471
# File 'lib/aws-sdk-efs/errors.rb', line 469

def error_code
  @data[:error_code]
end

#messageString

Returns:

  • (String)


474
475
476
# File 'lib/aws-sdk-efs/errors.rb', line 474

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