docs/contrib/error-code.md
Error codes are one of the important means for users to locate and solve problems. When an application encounters an exception, users can quickly locate and resolve the problem based on the error code and the description and solution of the error code in the documentation.
InvalidParameter.BindError, separated by a .. The first-level error code is platform-level, and the second-level error code is resource-level, which can be customized according to the scenario;InvalidParameter.ErrorBind, InvalidParameter.BindError.| Error Code | Error Description | Error Type |
|---|---|---|
| InternalError | Internal error | 1 |
| InvalidParameter | Parameter error (including errors in parameter type, format, value, etc.) | 0 |
| AuthFailure | Authentication / Authorization error | 0 |
| ResourceNotFound | Resource does not exist | 0 |
| FailedOperation | Operation failed | 2 |
Error Type: 0 represents the client, 1 represents the server, 2 represents both the client / server.