例如,如果你的API有一个端点用于检索用户信息,但是提供的用户ID不存在,你可能会返回404 Not Found的HTTP状态码,以及一个具体的error_code(如1001),表示用户未找到,以及一个相关的错误消息(如"User with the given ID does not exist.")。 设计和使用原则 在设计API时,你应该使用标准的HTTP状态码
10108 can not send request to another application Sending friend requests to a different app is not allowed. 10109 send im message fail Failed to send IM message. RTC Error Code Error message Description -1000 invalid token The room token is invalid. -1001 Unknown error Unknown error. ...
NSURLErrorBadURL = -1000, NSURLErrorTimedOut = -1001, NSURLErrorUnsupportedURL = -1002, NSURLErrorCannotFindHost = -1003, NSURLErrorCannotConnectToHost = -1004, NSURLErrorNetworkConnectionLost = -1005, NSURLErrorDNSLookupFailed = -1006, NSURLErrorHTTPTooManyRedirects = -1007, NSURLErrorRe...
常见的HTTP状态码(HTTPStatusCode)说明 常见的HTTP状态码(HTTPStatusCode)说明 最近的项⽬,经常会接触⼀些http相关的error code,查询了下相关定义作为熟悉了解。状态代码有三位数字组成,第⼀个数字定义了响应的类别,且有五种可能取值:1. 1xx:指⽰信息--表⽰请求已接收,继续处理 2. 2xx:成功-...
error code(错误代码)=0是操作成功完成。 error code(错误代码)=1是功能错误。 error code(错误代码)=2是系统找不到指定的文件。 error code(错误代码)=3是系统找不到指定的路径。 error code(错误代码)=4是系统无法打开文件。 error code(错误代码)=5是拒绝访问。
0x80244019WU_E_PT_HTTP_STATUS_NOT_FOUNDSame as HTTP status 404 - the server can't find the requested URI (Uniform Resource Identifier). 0x8024401AWU_E_PT_HTTP_STATUS_BAD_METHODSame as HTTP status 405 - the HTTP method isn't allowed. ...
Shared MariaDB/MySQL error codes Error CodeSQLSTATEErrorDescription 1000 HY000 ER_HASHCHK hashchk 1001 HY000 ER_NISAMCHK isamchk 1002 HY000 ER_NO NO 1003 HY000 ER_YES YES 1004 HY000 ER_CANT_CREATE_FILE Can't create file '%s' (errno: %d) 1005 HY000 ER_CANT_CREATE_TABLE Can't create ...
0x1001 Invalid operation. (static)NOT_SUPPORTED Default Value: 0x1002 Not supported. Note: this error is reported when an SDK API is called, indicating that the current browser does not support calling the API. Handling suggestion: use a browser supported by the SDK. Reference:Check supported ...
Code 405 MethodNotAllow The method specified in the request is not ed allowed for the requested resource. The client should not repeat the request without modifications. 406 Not Acceptable The server cannot implement the request based on the content characteristics of the request. ...
To enable full solution analysis when using live dependency validation, open the options settings from the gold bar that appears in theError List. You can permanently dismiss the gold bar if you are not interested in seeing all the architectural issues in your solution. ...