An error subclass thrown when a JWT Claim Set member validation fails.
• new JWTClaimValidationFailed(message
, claim?
, reason?
)
Name | Type | Default value |
---|---|---|
message |
string |
undefined |
claim |
string |
'unspecified' |
reason |
string |
'unspecified' |
• claim: string
The Claim for which the validation failed.
• code: string
= 'ERR_JWT_CLAIM_VALIDATION_FAILED'
A unique error code for the particular error subclass.
• reason: string
Reason code for the validation failure.
• Static
get
code(): "ERR_JWT_CLAIM_VALIDATION_FAILED"
A unique error code for the particular error subclass.
"ERR_JWT_CLAIM_VALIDATION_FAILED"