Class: Peatio::Thought::Client::ResponseError

Inherits:
Error
  • Object
show all
Defined in:
lib/peatio/thought/client.rb

Instance Method Summary collapse

Constructor Details

#initialize(code, msg) ⇒ ResponseError

Returns a new instance of ResponseError.



15
16
17
# File 'lib/peatio/thought/client.rb', line 15

def initialize(code, msg)
  super "#{msg} (#{code})"
end