Exception: Jimson::Client::Error::InvalidJSON
- Inherits:
-
StandardError
- Object
- StandardError
- Jimson::Client::Error::InvalidJSON
- Defined in:
- lib/jimson/client/error.rb
Instance Method Summary collapse
-
#initialize(json) ⇒ InvalidJSON
constructor
A new instance of InvalidJSON.
Constructor Details
#initialize(json) ⇒ InvalidJSON
Returns a new instance of InvalidJSON.
11 12 13 |
# File 'lib/jimson/client/error.rb', line 11 def initialize(json) super("Couldn't parse JSON string received from server:\n#{json}") end |