Exception: YandexSpeechApi::Language::UnknownLanguageError

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

Overview

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

Instance Method Summary collapse

Constructor Details

#initialize(lang) ⇒ UnknownLanguageError


97
# File 'lib/yandex_speech/language.rb', line 97

def initialize(lang); super "Unknown language selected: '#{lang}'. See Language#list for list of allowed languages" end