Skip to content
DataStorageResultCode

数据处理 / DataStorageResultCode

DataStorageResultCode Enumeration

数据储存返回代码

Table of contents

Enumeration Members

DataLock = 410
DataNotExist = 1016
Failure = 400
GameIdError = 1011
KeyValueError = 1010
OnlyClientCall = 403
OnlyServerCall = 402
ParametersException = 1012
RequestIntervalTooClose = 423
RequestMethodNotSupported = 405
RequestTooFrequent = 424
ResourceException = 1400
ServerException = 1964
Success = 200
SystemException = 1999
TimeOut = 408

Enumeration Members

DataLock

DataLock = 410

某条key获取数据异常时数据被锁定,再次获取此key的数据正常时会解锁


DataNotExist

DataNotExist = 1016

数据不存在,服务端通用异常状态码,在数据存储中常见于没有授权数据


Failure

Failure = 400

未知错误失败


GameIdError

GameIdError = 1011

gameId格式错误或后端传参错误


KeyValueError

KeyValueError = 1010

key或者value格式错误(或后端参数校验失败),key大小不能大于50字节,value大小不能大于64kb,且本地存储的总数据大小不可以超过5mb


OnlyClientCall

OnlyClientCall = 403

非法调用 只可客户端调用


OnlyServerCall

OnlyServerCall = 402

非法调用 只可服务端调用


ParametersException

ParametersException = 1012

参数不符合业务所需参数格式


RequestIntervalTooClose

RequestIntervalTooClose = 423

请求间隔错误


RequestMethodNotSupported

RequestMethodNotSupported = 405

请求Method错误


RequestTooFrequent

RequestTooFrequent = 424

请求频率过高


ResourceException

ResourceException = 1400

没有访问对应资源的权限


ServerException

ServerException = 1964

服务端调用的远程服务异常


Success

Success = 200

操作成功


SystemException

SystemException = 1999

系统异常


TimeOut

TimeOut = 408

请求超时未回调