Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/jose/util/errors.ts>JOSEError

"JSON Web Almost Everything" - JWA, JWS, JWE, JWT, JWK, JWKS for Node.js, Browser, Cloudflare Workers, Deno, Bun, and other Web-interoperable runtimes.
Extremely Popular
Go to Latest
class JOSEError
extends Error
import { JOSEError } from "https://deno.land/x/jose@v4.15.0/util/errors.ts";

A generic Error that all other JOSE specific Error subclasses extend.

Constructors

new
JOSEError(message?: string)

Properties

code: string

A unique error code for the particular error subclass.

Static Properties

readonly
code: string

A unique error code for the particular error subclass.