Versions in this module Expand all Collapse all v1 v1.1.0 Nov 12, 2023 Changes in this version + var ERR_INVALID_ACCOUNT = gerror.NewCode(gcode.New(10001, "Invalid Mobile", nil)) + var ERR_PERMISSION_DENIED = gerror.NewCode(gcode.New(999, "无权限访问", nil)) + var ERR_SERVER_ERROR = gerror.NewCode(gcode.New(-1, "Server errors", nil)) + func As(err error, target any) bool + func Is(err, target error) bool + func New(text string) error + func Newf(format string, args ...interface{}) error