lib/viabtc/error.rb in viabtc-0.2.0 vs lib/viabtc/error.rb in viabtc-0.3.0

- old
+ new

@@ -14,14 +14,15 @@ @response = response end end # ViaBTC Exchange Server General Error Codes - InvalidArgument = Class.new(ExchangeError) # 1: Invalid Argument - InternalError = Class.new(ExchangeError) # 2: Internal Error - ServiceUnavailable = Class.new(ExchangeError) # 3: Service Unavailable - MethodNotFound = Class.new(ExchangeError) # 4: Method Not Found - ServiceTimeout = Class.new(ExchangeError) # 5: Service Timeout + InvalidArgument = Class.new(ExchangeError) # 1: Invalid Argument + InternalError = Class.new(ExchangeError) # 2: Internal Error + ServiceUnavailable = Class.new(ExchangeError) # 3: Service Unavailable + MethodNotFound = Class.new(ExchangeError) # 4: Method Not Found + ServiceTimeout = Class.new(ExchangeError) # 5: Service Timeout + RequireAuthentication = Class.new(ExchangeError) # 6: Require Authentication # ViaBTC Exchange Server Undocumented Error Codes with Gotchas # matchengine/me_server.c: on_cmd_order_put_limit LimitOrderBalanceNotEnough = Class.new(ExchangeError) # 10: Balance Not Enough