mirror-nourybot/cmd/bot/errors.go

13 lines
334 B
Go
Raw Normal View History

package main
import (
"errors"
)
var (
ErrUserLevelNotInteger = errors.New("user level must be a number")
ErrCommandLevelNotInteger = errors.New("command level must be a number")
ErrRecordNotFound = errors.New("user not found in the database")
ErrUserInsufficientLevel = errors.New("user has insufficient level")
)