kubernetes/vendor/github.com/golang-jwt/jwt/v4/errors.go

var ErrInvalidKey

var ErrInvalidKeyType

var ErrHashUnavailable

var ErrTokenMalformed

var ErrTokenUnverifiable

var ErrTokenSignatureInvalid

var ErrTokenInvalidAudience

var ErrTokenExpired

var ErrTokenUsedBeforeIssued

var ErrTokenInvalidIssuer

var ErrTokenNotValidYet

var ErrTokenInvalidId

var ErrTokenInvalidClaims

const ValidationErrorMalformed

const ValidationErrorUnverifiable

const ValidationErrorSignatureInvalid

const ValidationErrorAudience

const ValidationErrorExpired

const ValidationErrorIssuedAt

const ValidationErrorIssuer

const ValidationErrorNotValidYet

const ValidationErrorId

const ValidationErrorClaimsInvalid

// NewValidationError is a helper for constructing a ValidationError with a string error message
func NewValidationError(errorText string, errorFlags uint32) *ValidationError {}

type ValidationError

// Error is the implementation of the err interface.
func (e ValidationError) Error() string {}

// Unwrap gives errors.Is and errors.As access to the inner error.
func (e *ValidationError) Unwrap() error {}

// No errors
func (e *ValidationError) valid() bool {}

// Is checks if this ValidationError is of the supplied error. We are first checking for the exact error message
// by comparing the inner error message. If that fails, we compare using the error flags. This way we can use
// custom error messages (mainly for backwards compatability) and still leverage errors.Is using the global error variables.
func (e *ValidationError) Is(err error) bool {}