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