@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
13 lines (12 loc) • 458 B
JavaScript
;
// SPDX-FileCopyrightText: 2024 Telefónica Innovación Digital
// SPDX-License-Identifier: Apache-2.0
Object.defineProperty(exports, "__esModule", { value: true });
exports.UnauthorizedError = void 0;
class UnauthorizedError extends Error {
constructor(error) {
super(`Unauthorized
Response: ${JSON.stringify(error.response?.data, null, 2)}`, { cause: error });
}
}
exports.UnauthorizedError = UnauthorizedError;