Exception: YandexSpeechApi::Connection::ConnectionError
- Inherits:
-
StandardError
- Object
- StandardError
- YandexSpeechApi::Connection::ConnectionError
- Defined in:
- lib/yandex_speech/connection.rb
Instance Method Summary collapse
-
#initialize(code, message) ⇒ ConnectionError
constructor
A new instance of ConnectionError.
Constructor Details
#initialize(code, message) ⇒ ConnectionError
32 |
# File 'lib/yandex_speech/connection.rb', line 32 def initialize(code, ); super "Connection refused by remote server. Error code: '#{code}', Exception message: '#{message}'." end |