Exception: YandexSpeechApi::Format::FormatNotAllowed

Inherits:
StandardError
  • Object
show all
Defined in:
lib/yandex_speech/format.rb

Overview

This is supposed to been raised when unknown format has been selected.

Instance Method Summary collapse

Constructor Details

#initialize(format) ⇒ FormatNotAllowed


37
# File 'lib/yandex_speech/format.rb', line 37

def initialize(format); super "Format '#{format}' not allowed for usage. To see list of allowed formats use Format#list" end