You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
310 B
Go
17 lines
310 B
Go
1 year ago
|
package errx
|
||
|
|
||
|
import (
|
||
|
"git.noahlan.cn/noahlan/ntool-biz/core/nstatus/code"
|
||
|
"git.noahlan.cn/noahlan/ntool-biz/core/nstatus/msg"
|
||
|
)
|
||
|
|
||
|
const (
|
||
|
RoleCodeNotEmpty code.Code = iota + 3000
|
||
|
RoleCodeInUsed
|
||
|
)
|
||
|
|
||
|
func init() {
|
||
|
msg.Add(RoleCodeNotEmpty, "role.codeNotEmpty")
|
||
|
msg.Add(RoleCodeInUsed, "role.codeInUsed")
|
||
|
}
|