From fa9a0b8c450cbee2c0a2f94768c63da3913024e8 Mon Sep 17 00:00:00 2001 From: Jamie Stackhouse Date: Tue, 14 Jul 2015 14:31:32 -0300 Subject: [PATCH] Add validation error bit for generic validation error. --- errors.go | 1 + 1 file changed, 1 insertion(+) diff --git a/errors.go b/errors.go index e9e788f..6acea3f 100644 --- a/errors.go +++ b/errors.go @@ -18,6 +18,7 @@ const ( ValidationErrorSignatureInvalid // Signature validation failed ValidationErrorExpired // Exp validation failed ValidationErrorNotValidYet // NBF validation failed + ValidationErrorClaimsInvalid // Generic claims validation error ) // The error from Parse if token is not valid