1// Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved. 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15package v20201117 16 17const ( 18 // 此产品的特有错误码 19 20 // 操作失败。 21 FAILEDOPERATION = "FailedOperation" 22 23 // HTTP请求错误。 24 FAILEDOPERATION_HTTPREQUESTERROR = "FailedOperation.HttpRequestError" 25 26 // 资源不存在。 27 FAILEDOPERATION_NOTEXIST = "FailedOperation.NotExist" 28 29 // 内部错误。 30 INTERNALERROR = "InternalError" 31 32 // 使用的云存储错误。 33 INTERNALERROR_COSERROR = "InternalError.CosError" 34 35 // 数据库操作错误。 36 INTERNALERROR_DBERROR = "InternalError.DbError" 37 38 // 使用的消息队列错误。 39 INTERNALERROR_MQERROR = "InternalError.MqError" 40 41 // 系统错误。 42 INTERNALERROR_SYSTEM = "InternalError.System" 43 44 // 参数错误。 45 INVALIDPARAMETER = "InvalidParameter" 46 47 // 参数错误。 48 INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" 49 50 // 禁止操作。 51 UNSUPPORTEDOPERATION_FORBIDOP = "UnsupportedOperation.ForbidOp" 52) 53