Exception: CoinTools::JSONError
- Inherits:
-
ResponseError
- Object
- StandardError
- Error
- ResponseError
- CoinTools::JSONError
- Defined in:
- lib/cointools/errors.rb
Instance Attribute Summary
Attributes inherited from ResponseError
Instance Method Summary collapse
-
#initialize(response, message = nil) ⇒ JSONError
constructor
A new instance of JSONError.
Methods inherited from Error
Constructor Details
#initialize(response, message = nil) ⇒ JSONError
Returns a new instance of JSONError.
35 36 37 |
# File 'lib/cointools/errors.rb', line 35 def initialize(response, = nil) super(response, || "Incorrect JSON structure") end |