Class: Aws::EFS::Errors::ThroughputLimitExceeded

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

Returns a new instance of ThroughputLimitExceeded.

Parameters:



644
645
646
# File 'lib/aws-sdk-efs/errors.rb', line 644

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

Instance Method Details

#error_codeString

Returns:

  • (String)


649
650
651
# File 'lib/aws-sdk-efs/errors.rb', line 649

def error_code
  @data[:error_code]
end

#messageString

Returns:

  • (String)


654
655
656
# File 'lib/aws-sdk-efs/errors.rb', line 654

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