class GenericError
Public Class Methods
new(exception = nil)
click to toggle source
Calls superclass method
# File lib/cryptomkt_ruby/error_handler.rb, line 24 def initialize(exception = nil) super("the server responded with status #{exception[:status]}: #{exception[:body]}") end