Class: Aws::ManagedBlockchainQuery::Errors::ThrottlingException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::ManagedBlockchainQuery::Errors::ThrottlingException
- Defined in:
- lib/aws-sdk-managedblockchainquery/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ThrottlingException
constructor
A new instance of ThrottlingException.
- #message ⇒ String
- #quota_code ⇒ String
- #retry_after_seconds ⇒ String
- #retryable? ⇒ Boolean
- #service_code ⇒ String
- #throttling? ⇒ Boolean
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ThrottlingException
Returns a new instance of ThrottlingException.
147 148 149 |
# File 'lib/aws-sdk-managedblockchainquery/errors.rb', line 147 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
152 153 154 |
# File 'lib/aws-sdk-managedblockchainquery/errors.rb', line 152 def @message || @data[:message] end |
#quota_code ⇒ String
162 163 164 |
# File 'lib/aws-sdk-managedblockchainquery/errors.rb', line 162 def quota_code @data[:quota_code] end |
#retry_after_seconds ⇒ String
167 168 169 |
# File 'lib/aws-sdk-managedblockchainquery/errors.rb', line 167 def retry_after_seconds @data[:retry_after_seconds] end |
#retryable? ⇒ Boolean
171 172 173 |
# File 'lib/aws-sdk-managedblockchainquery/errors.rb', line 171 def retryable? true end |
#service_code ⇒ String
157 158 159 |
# File 'lib/aws-sdk-managedblockchainquery/errors.rb', line 157 def service_code @data[:service_code] end |
#throttling? ⇒ Boolean
175 176 177 |
# File 'lib/aws-sdk-managedblockchainquery/errors.rb', line 175 def throttling? true end |