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) 578 B
"use strict"; // SPDX-FileCopyrightText: 2024 Telefónica Innovación Digital // SPDX-License-Identifier: Apache-2.0 Object.defineProperty(exports, "__esModule", { value: true }); exports.CreatePageError = void 0; const CustomError_1 = require("./CustomError"); const ErrorHelpers_1 = require("./ErrorHelpers"); class CreatePageError extends CustomError_1.CustomError { constructor(title, options) { super(`Error creating page with title ${title}: ${(0, ErrorHelpers_1.getCauseMessage)(options?.cause)}`, options); } } exports.CreatePageError = CreatePageError;