Class: Aws::ConnectCampaignsV2::Errors::InternalServerException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::ConnectCampaignsV2::Errors::InternalServerException
- Defined in:
- lib/aws-sdk-connectcampaignsv2/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InternalServerException
constructor
A new instance of InternalServerException.
- #message ⇒ String
- #retryable? ⇒ Boolean
- #x_amz_error_type ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InternalServerException
Returns a new instance of InternalServerException.
91 92 93 |
# File 'lib/aws-sdk-connectcampaignsv2/errors.rb', line 91 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
96 97 98 |
# File 'lib/aws-sdk-connectcampaignsv2/errors.rb', line 96 def @message || @data[:message] end |
#retryable? ⇒ Boolean
105 106 107 |
# File 'lib/aws-sdk-connectcampaignsv2/errors.rb', line 105 def retryable? true end |
#x_amz_error_type ⇒ String
101 102 103 |
# File 'lib/aws-sdk-connectcampaignsv2/errors.rb', line 101 def x_amz_error_type @data[:x_amz_error_type] end |