# coding=utf-8
from __future__ import absolute_import, unicode_literals
from ..utils.enum import Enum, unique


@unique
class ERROR(int, Enum):
    """
    分配错误码时请参考、维护代码库根目录下的文件 ERROR_CODE_REGION.txt
    """
    AUTH_UNAME_PASSWD_MISMATCH = (1, 'username and password mismatch')
    ILLEGAL_SESSION = (2, 'illegal session or session not exist')

    UNSUPPORT_STRATEGY_TYPE = (220000, 'unsupport strategy type')
