2023-09-08 00:18:09 +02:00
|
|
|
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")
|
2023-12-13 22:40:48 +01:00
|
|
|
ErrInternalServerError = errors.New("internal server error")
|
2023-09-19 14:04:58 +02:00
|
|
|
ErrDuringPasteUpload = errors.New("could not upload paste")
|
2023-09-08 00:18:09 +02:00
|
|
|
)
|