mirror of
https://github.com/chaitin/MonkeyCode.git
synced 2026-02-03 23:33:37 +08:00
19 lines
448 B
Go
19 lines
448 B
Go
package errcode
|
|
|
|
import (
|
|
"embed"
|
|
|
|
"github.com/GoYoko/web"
|
|
)
|
|
|
|
//go:embed locale.*.toml
|
|
var LocalFS embed.FS
|
|
|
|
var (
|
|
ErrPermission = web.NewBadRequestErr("err-permission")
|
|
ErrUserNotFound = web.NewBadRequestErr("err-user-not-found")
|
|
ErrPassword = web.NewBadRequestErr("err-password")
|
|
ErrInviteCodeInvalid = web.NewBadRequestErr("err-invite-code-invalid")
|
|
ErrEmailInvalid = web.NewBadRequestErr("err-email-invalid")
|
|
)
|