src.dualinventive.com/go/authentication-service/internal/storage/error.go

12 lines
278 B
Go

package storage
import (
"errors"
)
// ErrTokenNotFound occurs when a token does not resolve to a user.
var ErrTokenNotFound = errors.New("token not found")
// ErrTokenInvalid occurs when a token does not resolve to a user.
var ErrTokenInvalid = errors.New("token invalid")