package
Version:
v0.0.0-...-750a8a5
Opens a new window with list of versions in this module.
Published: Oct 10, 2021
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
@Description 错误处理
@Author jiangyang
@Created 2020/11/17 9:51 上午
View Source
var (
SystemErr = &Errno{Code: 1, Msg: "系统错误"}
BusNotFound = &Errno{101, "Token中业务数据不存在"}
ParamErr = &Errno{102, "参数错误"}
UserPasswordErr = &Errno{103, "账号或密码错误"}
UserNotFound = &Errno{1001, "用户不存在"}
UserRoleErr = &Errno{1002, "用户角色错误"}
UserNoPowerErr = &Errno{1003, "用户权限不足"}
)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.