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.11.2/util/errors.ts";

A generic Error subclass that all other specific JOSE Error subclasses inherit from.

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.