Class: Aws::Polly::Errors::InvalidLexiconException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Polly::Errors::InvalidLexiconException
- Defined in:
- lib/aws-sdk-polly/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidLexiconException
constructor
A new instance of InvalidLexiconException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidLexiconException
Returns a new instance of InvalidLexiconException.
78 79 80 |
# File 'lib/aws-sdk-polly/errors.rb', line 78 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
83 84 85 |
# File 'lib/aws-sdk-polly/errors.rb', line 83 def @message || @data[:message] end |