# -*- coding: utf8 -*- # Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. 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. # 操作失败。 FAILEDOPERATION = 'FailedOperation' # 锁定机器超时或未调用TrylockWorker。 FAILEDOPERATION_LOCKTIMEOUT = 'FailedOperation.LockTimeout' # 处理超时。 FAILEDOPERATION_PROCESSTIMEOUT = 'FailedOperation.ProcessTimeout' # 请降低访问频率。 FAILEDOPERATION_SLOWDOWN = 'FailedOperation.SlowDown' # 操作超时。 FAILEDOPERATION_TIMEOUT = 'FailedOperation.Timeout' # 请求太频繁。 FAILEDOPERATION_TOOFREQUENTLY = 'FailedOperation.TooFrequently' # 内部错误。 INTERNALERROR = 'InternalError' # Json解析失败。 INVALIDPARAMETER_JSONPARSEERROR = 'InvalidParameter.JsonParseError' # 参数取值错误。 INVALIDPARAMETERVALUE = 'InvalidParameterValue' # 【多人游戏】对应的角色人数超过限制。 LIMITEXCEEDED_ROLE = 'LimitExceeded.Role' # 操作被拒绝。 OPERATIONDENIED = 'OperationDenied' # 没有空闲机器。 RESOURCENOTFOUND_NOIDLE = 'ResourceNotFound.NoIdle' # 会话未找到。 RESOURCENOTFOUND_SESSIONNOTFOUND = 'ResourceNotFound.SessionNotFound' # 访问并发实例失败。 RESOURCEUNAVAILABLE_ACCESSFAILED = 'ResourceUnavailable.AccessFailed' # 机器还在初始化中。 RESOURCEUNAVAILABLE_INITIALIZATION = 'ResourceUnavailable.Initialization' # 机器未运行。 UNSUPPORTEDOPERATION_NOTRUNNING = 'UnsupportedOperation.NotRunning' # 退出游戏中。 UNSUPPORTEDOPERATION_STOPPING = 'UnsupportedOperation.Stopping'
Memory