local-server/cmd/dkl-local-server/httperr.go
2023-02-13 13:03:42 +01:00

13 lines
225 B
Go

package main
import (
"net/http"
"m.cluseau.fr/go/httperr"
)
var (
ErrNotFound = httperr.NewStd(404, http.StatusNotFound, "not found")
ErrInvalidToken = httperr.NewStd(403, http.StatusForbidden, "invalid token")
)