Plugin error code specification
General requirements
Plugin developers need to subdivide the various scenarios that lead to the failure of plug-in execution, use errorCode to identify, and give detailed descriptions and solutions in the plug-in logs and usage guidelines, so that users can quickly locate and solve problems
Plugin developers need to categorize the errors that lead to the failure of plug-in execution, specify the error type errorType, used for metrics statistics
Error type and error code specification
1 Plugin error type (errorType)
Reported through the errorType field in the plug-in results.
Note: Plug-in SDK only provides 1-3 pass value enumeration, plug-in results are not specified within or specify a value other than 1-3, the error type takes the value of 3 (plug-in execution error)
2 plugin error code(errorCode)
Reported via the errorCode field in the plugin results.
Note: Plugin error codes help developers define complete and systematic error information for easy problem location and report generation.
Last updated