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

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.