Exception: YandexSpeechApi::Connection::ConnectionRefused

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

Overview

This is supposed to been raised when RestClient::Request failed for some reason.

Instance Method Summary collapse

Constructor Details

#initialize(exception) ⇒ ConnectionRefused


61
# File 'lib/yandex_speech/connection.rb', line 61

def initialize(exception); super "Connection refused by remote server. Exception message: '#{exception.message}'" end