The framework predefines some common error codes that developers can use directly:
https://github.com/gogf/gf/blob/master/errors/gcode/gcode.go
warning
Please note, if business uses integer error codes, <1000
error codes are reserved by the framework, and business error codes should be defined as >1000
.