Exception: YandexSpeechApi::Speed::SpeedModeNotAllowed

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

Overview

This is supposed to been raised when speed mode is unknown.

Instance Method Summary collapse

Constructor Details

#initialize(speed) ⇒ SpeedModeNotAllowed


57
# File 'lib/yandex_speech/speed.rb', line 57

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