Remove unused errors

This commit is contained in:
Ilja Neumann
2020-12-04 15:50:22 +01:00
parent a591d65119
commit 61a8f00837

View File

@@ -1,16 +0,0 @@
package middleware
import (
"errors"
)
var (
// ErrInvalidToken is returned when the request token is invalid.
ErrInvalidToken = errors.New("invalid or missing token")
// ErrUnauthorized is returned if the request is not authorized
ErrUnauthorized = errors.New("unauthorized")
// ErrInternal is returned if something went wrong
ErrInternal = errors.New("internal error")
)