# coding: utf-8

from __future__ import unicode_literals, absolute_import
from ..utils.enum import Enum, unique


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

    PROMOTION_NOT_FOUND = (804001, '促销活动不存在')
    SUBMISSION_NOT_FOUND = (804002, '提报记录不存在')
    SUBMISSION_COMMODITY_NOT_FOUND = (804003, '提报商品不存在')
    PROMOTION_RULE_TYPE_NOT_FOUND = (804004, '促销活动类型不存在')
