@duosecurity/duo_universal
Version:
Node.js implementation of the Duo Universal SDK.
17 lines (16 loc) • 469 B
JavaScript
;
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;