Versions in this module Expand all Collapse all v2 v2.3.0 Apr 21, 2026 v2.1.0 Feb 9, 2026 Changes in this version + var ERR_INVALID_ACCOUNT = gerror.NewCode(gcode.New(10001, "Invalid Phone", nil)) + var ERR_INVALID_API_KEY = gerror.NewCode(gcode.New(10002, "无效的应用密钥", nil)) + var ERR_SERVER_ERROR = gerror.NewCode(gcode.New(-1, "Server errors", nil)) + var ERR_UNAUTHORIZED = gerror.NewCode(gcode.New(999, "Unauthorized", nil)) + func As(err error, target any) bool + func Is(err, target error) bool + func New(text string) error + func Newf(format string, args ...any) error Other modules containing this package github.com/iimeta/fastapi-admin