Exception: Jimson::Client::Error::InvalidResponse
- Inherits:
-
StandardError
- Object
- StandardError
- Jimson::Client::Error::InvalidResponse
- Defined in:
- lib/jimson/client/error.rb
Instance Method Summary collapse
-
#initialize(response = nil) ⇒ InvalidResponse
constructor
A new instance of InvalidResponse.
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 |