#!/usr/bin/env python
# -*- coding:utf-8 -*-
#
#   Author  :   RobertDing
#   E-mail  :   robertdingx@gmail.com
#   Date    :   17/06/16 11:25:18
#   Desc    :   线下分期错误码
#
from ..utils.enum import Enum, unique


@unique
class ERROR(int, Enum):
    """
    分配错误码时请参考、维护代码库根目录下的文件 ERROR_CODE_REGION.txt

        !!! 字符前面一定要记得加 u  !!!!!
    """
    OPENID_ERROR = (801001, u'微信授权错误')
    PARAM_ERROR = (801002, u'参数错误')
