Documentation ¶
Overview ¶
Package errno @program: arco-design-pro-gin @author: [lliuhuan](https://github.com/lliuhuan) @create: 2021-12-14 14:39
Index ¶
Constants ¶
View Source
const ( ERROR = -1 SUCCESS = 0 TIMEOUT = 10001 )
Variables ¶
View Source
var ( // TokenExpired token 已过期 TokenExpired = errors.New("token is expired") // TokenNotValidYet token 未激活 TokenNotValidYet = errors.New("token not active yet") // TokenMalformed 不是token TokenMalformed = errors.New("that's not even a token") // TokenInvalid token 无法处理 TokenInvalid = errors.New("couldn't handle this token: ") MenuIdenticalName = errors.New("存在相同name") AuthExist = errors.New("存在相同角色id") AuthExistSubRole = errors.New("此角色存在子角色不允许删除") AuthInUse = errors.New("此角色有用户正在使用禁止删除") )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.