mirror-nourybot/cmd/nourybot/errors.go
lyx0 d0cb43d1f3 add predb command.
predb commmand either fetches the latest or fetches specific information about releases
2023-12-13 22:40:48 +01:00

15 lines
465 B
Go

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")
ErrInternalServerError = errors.New("internal server error")
ErrDuringPasteUpload = errors.New("could not upload paste")
)