@duosecurity/duo_universal
Version:
Node.js implementation of the Duo Universal SDK.
19 lines (18 loc) • 528 B
JavaScript
;
// SPDX-FileCopyrightText: 2021 Lukas Hroch
//
// SPDX-License-Identifier: MIT
Object.defineProperty(exports, "__esModule", { value: true });
exports.AxiosError = void 0;
class AxiosError extends Error {
constructor(ops = {}) {
super(ops.message);
this.isAxiosError = true;
const { code, config, request, response } = ops;
this.code = code;
this.config = config;
this.request = request;
this.response = response;
}
}
exports.AxiosError = AxiosError;