Skip to main content
Module

x/jose/index.ts>errors.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 errors.JOSEError
extends Error
import { errors } from "https://deno.land/x/jose@v4.11.1/index.ts";
const { JOSEError } = errors;

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.