# -*- coding: utf8 -*-
# Copyright (c) 2017-2025 Tencent. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#    http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.


# CAM签名/鉴权错误。
AUTHFAILURE = 'AuthFailure'

# 没有权限。
AUTHFAILURE_UNAUTHORIZEDOPERATION = 'AuthFailure.UnauthorizedOperation'

# 操作失败。
FAILEDOPERATION = 'FailedOperation'

# 代理支付设备不能降配。
FAILEDOPERATION_AGENTPAYDEALCANNOTDOWN = 'FailedOperation.AgentPayDealCannotDown'

# 账户余额不足。
FAILEDOPERATION_BALANCEINSUFFICIENT = 'FailedOperation.BalanceInsufficient'

# 业务侧校验不通过错误码。
FAILEDOPERATION_BUSINESSCHECKERRCODE = 'FailedOperation.BusinessCheckErrCode'

# 经销场景限制错误
FAILEDOPERATION_DISTRIBUTEERROR = 'FailedOperation.DistributeError'

# 由于传参数问题，导致询价失败
FAILEDOPERATION_GETPRICEPARAMERROR = 'FailedOperation.GetPriceParamError'

# appId不符。
FAILEDOPERATION_INVALIDAPPID = 'FailedOperation.InvalidAppId'

# 订单状态错误，只有未支付订单才能支付。
FAILEDOPERATION_INVALIDDEAL = 'FailedOperation.InvalidDeal'

# 订单类型ID无效，请重新购买。
FAILEDOPERATION_INVALIDGOODSCATEGORYID = 'FailedOperation.InvalidGoodsCategoryId'

# 代金券不可用。
FAILEDOPERATION_INVALIDVOUCHER = 'FailedOperation.InvalidVoucher'

# 一起购买的订单必须同时支付。
FAILEDOPERATION_NEEDPAYTOGETER = 'FailedOperation.NeedPayTogeter'

# 套餐订单需一起购买。
FAILEDOPERATION_NEEDPAYTOGETHER = 'FailedOperation.NeedPayTogether'

# 数量超过最大限制。
FAILEDOPERATION_NUMLIMITERROR = 'FailedOperation.NumLimitError'

# 支付失败，请联系腾讯云工作人员处理。
FAILEDOPERATION_PAYPRICEERROR = 'FailedOperation.PayPriceError'

# 支付成功但发货失败，请联系腾讯云工作人员处理。
FAILEDOPERATION_PAYSUCCDELIVERFAILED = 'FailedOperation.PaySuccDeliverFailed'

# 获取数据条数失败。
FAILEDOPERATION_QUERYCOUNTFAILED = 'FailedOperation.QueryCountFailed'

# 查询数据失败
FAILEDOPERATION_QUERYDBFAILED = 'FailedOperation.QueryDBFailed'

# 汇总数据正在构建中，请稍后再试。
FAILEDOPERATION_SUMMARYDATANOTREADY = 'FailedOperation.SummaryDataNotReady'

# 不存在该分账标签键。
FAILEDOPERATION_TAGKEYNOTEXIST = 'FailedOperation.TagKeyNotExist'

# 用户下单白名单拦截
FAILEDOPERATION_DEALCREATEWHITELISTERROR = 'FailedOperation.dealCreateWhitelistError'

# 内部错误。
INTERNALERROR = 'InternalError'

# 数据库操作失败。
INTERNALERROR_DBOPERATERROR = 'InternalError.DbOperatError'

# 网关错误。
INTERNALERROR_GATEWAYERROR = 'InternalError.GatewayError'

# 系统内部错误
INTERNALERROR_INTERNALERROR = 'InternalError.InternalError'

# 未定义异常。
INTERNALERROR_UNKNOWNERROR = 'InternalError.UnknownError'

# 参数错误。
INVALIDPARAMETER = 'InvalidParameter'

# 参数错误
INVALIDPARAMETER_APIPARAMERROR = 'InvalidParameter.ApiParamError'

# 参数错误
INVALIDPARAMETER_INVALIDPARAMETER = 'InvalidParameter.InvalidParameter'

# 参数校验出错
INVALIDPARAMETER_PARAMCHECKFAILED = 'InvalidParameter.ParamCheckFailed'

# 资源被锁定。
INVALIDPARAMETER_RESOURCELOCKED = 'InvalidParameter.ResourceLocked'

# 参数取值错误。
INVALIDPARAMETERVALUE = 'InvalidParameterValue'

# 缺少参数错误。
MISSINGPARAMETER = 'MissingParameter'

# 操作被拒绝。
OPERATIONDENIED = 'OperationDenied'

# 账号没有cam授权。
UNAUTHORIZEDOPERATION_CAMNOAUTH = 'UnauthorizedOperation.CamNoAuth'

# 因账号安全升级，购买云资源需完善您的实名信息。
UNAUTHORIZEDOPERATION_CERTIFICATIONNEEDUPGRADE = 'UnauthorizedOperation.CertificationNeedUpgrade'

# 账号没有实名认证，支付失败。
UNAUTHORIZEDOPERATION_NOTCERTIFICATION = 'UnauthorizedOperation.NotCertification'

# 操作不支持。
UNSUPPORTEDOPERATION = 'UnsupportedOperation'

# 暂不支持该行为
UNSUPPORTEDOPERATION_NOT_SUPPORT_THIS_ACTION = 'UnsupportedOperation.NOT_SUPPORT_THIS_ACTION'
