Class: Aws::ConnectCampaignsV2::Errors::ThrottlingException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::ConnectCampaignsV2::Errors::ThrottlingException
- Defined in:
- lib/aws-sdk-connectcampaignsv2/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ThrottlingException
constructor
A new instance of ThrottlingException.
- #message ⇒ String
- #retryable? ⇒ Boolean
- #x_amz_error_type ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ThrottlingException
Returns a new instance of ThrottlingException.
200 201 202 |
# File 'lib/aws-sdk-connectcampaignsv2/errors.rb', line 200 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
205 206 207 |
# File 'lib/aws-sdk-connectcampaignsv2/errors.rb', line 205 def @message || @data[:message] end |
#retryable? ⇒ Boolean
214 215 216 |
# File 'lib/aws-sdk-connectcampaignsv2/errors.rb', line 214 def retryable? true end |
#x_amz_error_type ⇒ String
210 211 212 |
# File 'lib/aws-sdk-connectcampaignsv2/errors.rb', line 210 def x_amz_error_type @data[:x_amz_error_type] end |