Files
spend-sparrow/internal/core/error.go
Tim Wundenberg 1db5c48553
Some checks failed
Build Docker Image / Build-Docker-Image (push) Has been cancelled
wip
2025-12-24 08:12:26 +01:00

14 lines
330 B
Go

package core
import "errors"
var (
ErrNotFound = errors.New("the value does not exist")
ErrAlreadyExists = errors.New("row already exists")
ErrInternal = errors.New("internal server error")
ErrUnauthorized = errors.New("you are not authorized to perform this action")
ErrBadRequest = errors.New("bad request")
)