Class: Aws::Polly::Errors::InvalidSampleRateException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Polly::Errors::InvalidSampleRateException
- Defined in:
- lib/aws-sdk-polly/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidSampleRateException
constructor
A new instance of InvalidSampleRateException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidSampleRateException
Returns a new instance of InvalidSampleRateException.
138 139 140 |
# File 'lib/aws-sdk-polly/errors.rb', line 138 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
143 144 145 |
# File 'lib/aws-sdk-polly/errors.rb', line 143 def @message || @data[:message] end |