You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
406 B
15 lines
406 B
|
|
class HuobiApiException(Exception):
|
|
|
|
RUNTIME_ERROR = "RuntimeError"
|
|
INPUT_ERROR = "InputError"
|
|
KEY_MISSING = "KeyMissing"
|
|
SYS_ERROR = "SysError"
|
|
SUBSCRIPTION_ERROR = "SubscriptionError"
|
|
ENV_ERROR = "EnvironmentError"
|
|
EXEC_ERROR = "ExecuteError"
|
|
|
|
def __init__(self, error_code, error_message):
|
|
self.error_code = error_code
|
|
self.error_message = error_message
|