Exception: YandexSpeechApi::Format::FormatNotAllowed
- Inherits:
-
YandexSpeechError
- Object
- StandardError
- YandexSpeechError
- YandexSpeechApi::Format::FormatNotAllowed
- Defined in:
- lib/yandex_speech/format.rb
Overview
Raised when unknown format has been selected.
Instance Method Summary collapse
-
#initialize(format) ⇒ FormatNotAllowed
constructor
A new instance of FormatNotAllowed.
Constructor Details
#initialize(format) ⇒ FormatNotAllowed
Returns a new instance of FormatNotAllowed.
36 |
# File 'lib/yandex_speech/format.rb', line 36 def initialize(format); super "Format '#{format}' not allowed for usage. To see list of allowed formats use Format#list" end |