UNPKG

@duosecurity/duo_universal

Version:
19 lines (18 loc) 528 B
"use strict"; // 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;