Skip to main content
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.14.4/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.