Exception: CoinTools::NoDataError

Inherits:
ResponseError show all
Defined in:
lib/cointools/errors.rb

Instance Attribute Summary

Attributes inherited from ResponseError

#response

Instance Method Summary collapse

Methods inherited from Error

#nice_message

Constructor Details

#initialize(response, message = nil) ⇒ NoDataError

Returns a new instance of NoDataError.



41
42
43
# File 'lib/cointools/errors.rb', line 41

def initialize(response, message = nil)
  super(response, message || "Missing data in the response")
end