Module: ViaBTC::Error

Defined in:
lib/viabtc/error.rb

Defined Under Namespace

Classes: ExchangeError

Constant Summary collapse

ViaBTCError =

ViaBTC Module Error Classes

Class.new(StandardError)
Configuration =

Module Config Error

Class.new(ViaBTCError)
InvalidParameter =

Module Invalid Param Error

Class.new(ViaBTCError)
InvalidArgument =

ViaBTC Exchange Server General Error Codes

Class.new(ExchangeError)
InternalError =

2: Internal Error

Class.new(ExchangeError)
ServiceUnavailable =

3: Service Unavailable

Class.new(ExchangeError)
MethodNotFound =

4: Method Not Found

Class.new(ExchangeError)
ServiceTimeout =

5: Service Timeout

Class.new(ExchangeError)
RequireAuthentication =

6: Require Authentication

Class.new(ExchangeError)
LimitOrderBalanceNotEnough =

matchengine/me_server.c: on_cmd_order_put_limit

Class.new(ExchangeError)
LimitOrderAmountTooSmall =

11: Amount Too Small

Class.new(ExchangeError)
LimitOrderNoEnoughTrader =

12: No Enough Trader

Class.new(ExchangeError)
RepeatBalanceUpdate =

matchengine/me_server.c: on_cmd_balance_update

Class.new(ExchangeError)
BalanceNotEnough =

11: Balance Not Enough

Class.new(ExchangeError)