Exception: Jimson::Client::Error::InvalidResponse

Inherits:
StandardError
  • Object
show all
Defined in:
lib/jimson/client/error.rb

Instance Method Summary collapse

Constructor Details

#initialize(response = nil) ⇒ InvalidResponse

Returns a new instance of InvalidResponse.



5
6
7
# File 'lib/jimson/client/error.rb', line 5

def initialize(response = nil)
  super("Invalid or empty response from server:\n#{response.inspect}")
end