class JWTServiceError
extends Error

Base error class for all JWT service-related errors. Allows consumers to catch any error originating from this service.

Constructors

new
JWTServiceError(
message: string,
options?: JWTErrorOptions,
)

Usage

import { JWTServiceError } from ".";