Files
spend-sparrow/internal/core/error.go
Tim Wundenberg 75433834ed
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 1m7s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 1m10s
feat: extract authentication to domain package
2025-12-25 07:39:48 +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")
)