Class: RestClient::Exceptions::OpenTimeout

Inherits:
Timeout
  • Object
show all
Defined in:
lib/restclient/exceptions.rb

Overview

Timeout when connecting to a server. Typically wraps Net::OpenTimeout (in ruby 2.0 or greater).

Instance Method Summary collapse

Methods inherited from Timeout

#initialize

Constructor Details

This class inherits a constructor from RestClient::Exceptions::Timeout

Instance Method Details

#default_messageObject



213
214
215
# File 'lib/restclient/exceptions.rb', line 213

def default_message
  'Timed out connecting to server'
end