Class: Aws::PartnerCentralAccount::Errors::ThrottlingException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::PartnerCentralAccount::Errors::ThrottlingException
- Defined in:
- gems/aws-sdk-partnercentralaccount/lib/aws-sdk-partnercentralaccount/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
-
#retryable? ⇒ Boolean
-
#service_code ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ThrottlingException
Returns a new instance of ThrottlingException.
148 149 150 |
# File 'gems/aws-sdk-partnercentralaccount/lib/aws-sdk-partnercentralaccount/errors.rb', line 148 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
153 154 155 |
# File 'gems/aws-sdk-partnercentralaccount/lib/aws-sdk-partnercentralaccount/errors.rb', line 153 def @message || @data[:message] end |
#quota_code ⇒ String
163 164 165 |
# File 'gems/aws-sdk-partnercentralaccount/lib/aws-sdk-partnercentralaccount/errors.rb', line 163 def quota_code @data[:quota_code] end |
#retryable? ⇒ Boolean
167 168 169 |
# File 'gems/aws-sdk-partnercentralaccount/lib/aws-sdk-partnercentralaccount/errors.rb', line 167 def retryable? true end |
#service_code ⇒ String
158 159 160 |
# File 'gems/aws-sdk-partnercentralaccount/lib/aws-sdk-partnercentralaccount/errors.rb', line 158 def service_code @data[:service_code] end |