Class: Aws::ConnectCampaignsV2::Errors::InvalidStateException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::ConnectCampaignsV2::Errors::InvalidStateException
- Defined in:
- lib/aws-sdk-connectcampaignsv2/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidStateException
constructor
A new instance of InvalidStateException.
- #message ⇒ String
- #x_amz_error_type ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidStateException
Returns a new instance of InvalidStateException.
140 141 142 |
# File 'lib/aws-sdk-connectcampaignsv2/errors.rb', line 140 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
145 146 147 |
# File 'lib/aws-sdk-connectcampaignsv2/errors.rb', line 145 def @message || @data[:message] end |
#x_amz_error_type ⇒ String
150 151 152 |
# File 'lib/aws-sdk-connectcampaignsv2/errors.rb', line 150 def x_amz_error_type @data[:x_amz_error_type] end |