Class: Aws::ManagedBlockchainQuery::Errors::ThrottlingException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ThrottlingException.

Parameters:



147
148
149
# File 'lib/aws-sdk-managedblockchainquery/errors.rb', line 147

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

Instance Method Details

#messageString

Returns:

  • (String)


152
153
154
# File 'lib/aws-sdk-managedblockchainquery/errors.rb', line 152

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

#quota_codeString

Returns:

  • (String)


162
163
164
# File 'lib/aws-sdk-managedblockchainquery/errors.rb', line 162

def quota_code
  @data[:quota_code]
end

#retry_after_secondsString

Returns:

  • (String)


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

def retry_after_seconds
  @data[:retry_after_seconds]
end

#retryable?Boolean

Returns:

  • (Boolean)


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

def retryable?
  true
end

#service_codeString

Returns:

  • (String)


157
158
159
# File 'lib/aws-sdk-managedblockchainquery/errors.rb', line 157

def service_code
  @data[:service_code]
end

#throttling?Boolean

Returns:

  • (Boolean)


175
176
177
# File 'lib/aws-sdk-managedblockchainquery/errors.rb', line 175

def throttling?
  true
end