Class: Aws::Polly::Errors::InvalidNextTokenException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Polly::Errors::InvalidNextTokenException
- Defined in:
- lib/aws-sdk-polly/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidNextTokenException
constructor
A new instance of InvalidNextTokenException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidNextTokenException
Returns a new instance of InvalidNextTokenException.
93 94 95 |
# File 'lib/aws-sdk-polly/errors.rb', line 93 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
98 99 100 |
# File 'lib/aws-sdk-polly/errors.rb', line 98 def @message || @data[:message] end |