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

Inherits:
ServiceError
  • Object
show all
Defined in:
gems/aws-sdk-account/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:



153
154
155
# File 'gems/aws-sdk-account/lib/aws-sdk-account/errors.rb', line 153

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

Instance Method Details

#error_typeString

Returns:

  • (String)


158
159
160
# File 'gems/aws-sdk-account/lib/aws-sdk-account/errors.rb', line 158

def error_type
  @data[:error_type]
end

#messageString

Returns:

  • (String)


163
164
165
# File 'gems/aws-sdk-account/lib/aws-sdk-account/errors.rb', line 163

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

#retryable?Boolean

Returns:

  • (Boolean)


167
168
169
# File 'gems/aws-sdk-account/lib/aws-sdk-account/errors.rb', line 167

def retryable?
  true
end

#throttling?Boolean

Returns:

  • (Boolean)


171
172
173
# File 'gems/aws-sdk-account/lib/aws-sdk-account/errors.rb', line 171

def throttling?
  true
end