Exception: RestClient::ServerBrokeConnection
- Inherits:
-
Exception
- Object
- RuntimeError
- Exception
- RestClient::ServerBrokeConnection
- Defined in:
- lib/restclient/exceptions.rb
Overview
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.
Instance Attribute Summary
Attributes inherited from Exception
Instance Method Summary (collapse)
-
- (ServerBrokeConnection) initialize(message = 'Server broke connection')
constructor
A new instance of ServerBrokeConnection.
Methods inherited from Exception
#http_body, #http_code, #inspect, #to_s
Constructor Details
- (ServerBrokeConnection) initialize(message = 'Server broke connection')
A new instance of ServerBrokeConnection
174 175 176 177 |
# File 'lib/restclient/exceptions.rb', line 174 def initialize( = 'Server broke connection') super nil, nil self. = end |