Class: Aws::States::Errors::InvalidToken
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::States::Errors::InvalidToken
- Defined in:
- lib/aws-sdk-states/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidToken
constructor
A new instance of InvalidToken.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidToken
Returns a new instance of InvalidToken.
315 316 317 |
# File 'lib/aws-sdk-states/errors.rb', line 315 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
320 321 322 |
# File 'lib/aws-sdk-states/errors.rb', line 320 def @message || @data[:message] end |