Exception: TsJsonApi::ServerBrokeConnection
- Defined in:
- lib/ts_json_api/exceptions.rb
Overview
Server connection was severed
Instance Attribute Summary
Attributes inherited from Exception
#http_code, #message, #rest_client_exception
Instance Method Summary collapse
-
#initialize(*args) ⇒ ServerBrokeConnection
constructor
A new instance of ServerBrokeConnection.
Methods inherited from Exception
Constructor Details
#initialize(*args) ⇒ ServerBrokeConnection
Returns a new instance of ServerBrokeConnection.
49 50 51 52 53 54 |
# File 'lib/ts_json_api/exceptions.rb', line 49 def initialize(*args) = args. .merge! http_code: 0 super self. = 'Connection to server was severed' end |