UNPKG

@kiryano/etherealotp

Version:

A library for two-factor authentication using Twilio and Speakeasy.

15 lines (14 loc) 494 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.TokenVerificationError = void 0; /** * Represents errors related to token verification failures. */ class TokenVerificationError extends Error { constructor(message) { super(`TokenVerificationError: ${message}`); this.name = 'TokenVerificationError'; Object.setPrototypeOf(this, TokenVerificationError.prototype); } } exports.TokenVerificationError = TokenVerificationError;