UNPKG

@telefonica/confluence-sync

Version:

Creates/updates/deletes Confluence pages based on a list of objects containing the page contents. Supports nested pages and attachments upload

14 lines (13 loc) 514 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.BadRequestError = void 0; // SPDX-FileCopyrightText: 2024 Telefónica Innovación Digital // SPDX-License-Identifier: Apache-2.0 const CustomError_1 = require("../CustomError"); class BadRequestError extends CustomError_1.CustomError { constructor(error) { super(`Bad Request Response: ${JSON.stringify(error.response?.data, null, 2)}`, { cause: error }); } } exports.BadRequestError = BadRequestError;