Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
class jose.errors.JWTClaimValidationFailed
extends JOSEError
import { jose } from "https://deno.land/x/jwe_cookie_map@v1.0.0-rc0/deps.ts";
const { JWTClaimValidationFailed } = jose.errors;

An error subclass thrown when a JWT Claim Set member validation fails.

Constructors

new
JWTClaimValidationFailed(
message: string,
claim?,
reason?,
)

Properties

claim: string

The Claim for which the validation failed.

code: string
reason: string

Reason code for the validation failure.

Static Properties

readonly
code: "ERR_JWT_CLAIM_VALIDATION_FAILED"