Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrValidation = errors.New("validation error") ErrNotFound = errors.New("not found error") ErrDuplicateEntity = errors.New("duplicate entity") ErrForbidden = errors.New("forbidden error") ErrInvalidToken = errors.New("invalid token") ErrEmptyJWTSecretKey = errors.New("empty jwt secret key") ErrUnexpectedSigningMethod = errors.New("unexpected signing method") // Validation Errors which could be returned by "github.com/golang-jwt/jwt/v4" package GoJwtValidationErrors = []error{ goJwt.ErrTokenMalformed, goJwt.ErrTokenExpired, goJwt.ErrTokenNotValidYet, goJwt.ErrTokenInvalidClaims, } )
Functions ¶
func NewDuplicateEntity ¶
func NewForbiddenError ¶
func NewNotFoundError ¶
func NewUnauthorizedError ¶
func NewValidationError ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.