class RestClient::ServerBrokeConnection

The server broke the connection prior to the request completing. Usually this means it crashed, or sometimes that your network connection was severed before it could complete.

Public Class Methods

new(message = 'Server broke connection') click to toggle source
Calls superclass method RestClient::Exception::new
# File lib/restclient/exceptions.rb, line 232
def initialize(message = 'Server broke connection')
  super nil, nil
  self.message = message
end