@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
7 lines (6 loc) • 300 B
TypeScript
/**
* Returns the error message from the cause if it is an instance of Error, otherwise returns the cause itself.
* @param cause Cause of an error. It might be another error, or a string usually
* @returns The message to print
*/
export declare function getCauseMessage(cause: unknown): unknown;