UNPKG

@duosecurity/duo_universal

Version:
17 lines (16 loc) 469 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DuoException = void 0; // SPDX-FileCopyrightText: 2021 Lukas Hroch // // SPDX-License-Identifier: MIT class DuoException extends Error { constructor(message, error) { super(message); this.name = 'DuoException'; Error.captureStackTrace(this, this.constructor); if (error) this.inner = error; } } exports.DuoException = DuoException;