mirror-nourybot/cmd/nourybot/errors.go
2023-09-19 14:06:37 +02:00

14 lines
400 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")
ErrDuringPasteUpload = errors.New("could not upload paste")
)