biblio/code/code.go

16 lines
191 B
Go
Raw Normal View History

2022-10-04 21:09:31 +08:00
package code
const (
CodeArgsInvalid = iota + 400000
)
const (
CodeDatabase = iota + 400100
)
const (
CodeNoAuth = iota + 403000
CodeAuthFailed
CodePasswordInvalid
CodeUserNotExist
)