Exception: Jimson::ClientError::InvalidJSON
- Inherits:
-
Exception
- Object
- Exception
- Jimson::ClientError::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.
10 11 12 |
# File 'lib/jimson/client_error.rb', line 10 def initialize(json) super("Couldn't parse JSON string received from server:\n#{json}") end |