Exception: YandexSpeechApi::Speed::SpeedValueNotInRange

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

Overview

This is supposed to been raised when speed param is not in [(0.1)..3] range.

Instance Method Summary collapse

Constructor Details

#initialize(value) ⇒ SpeedValueNotInRange


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

def initialize(value); super "Speed value '#{value}' should be from [(0.1)..3] range" end