Class: Aws::EFS::Errors::SecurityGroupLimitExceeded

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

Returns a new instance of SecurityGroupLimitExceeded.

Parameters:



564
565
566
# File 'lib/aws-sdk-efs/errors.rb', line 564

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

Instance Method Details

#error_codeString

Returns:

  • (String)


569
570
571
# File 'lib/aws-sdk-efs/errors.rb', line 569

def error_code
  @data[:error_code]
end

#messageString

Returns:

  • (String)


574
575
576
# File 'lib/aws-sdk-efs/errors.rb', line 574

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