Class: Aws::Account::Errors::TooManyRequestsException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of TooManyRequestsException.

Parameters:



112
113
114
# File 'lib/aws-sdk-account/errors.rb', line 112

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

Instance Method Details

#messageString

Returns:

  • (String)


117
118
119
# File 'lib/aws-sdk-account/errors.rb', line 117

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

#retryable?Boolean

Returns:

  • (Boolean)


121
122
123
# File 'lib/aws-sdk-account/errors.rb', line 121

def retryable?
  true
end

#throttling?Boolean

Returns:

  • (Boolean)


125
126
127
# File 'lib/aws-sdk-account/errors.rb', line 125

def throttling?
  true
end