UNPKG

alfred-chrono-notes

Version:

Alfred Workflow for easy access to your Obsidian Periodic Notes

13 lines (12 loc) 404 B
/** * @description This exception is thrown when an attempted file write could not be complete. * @param {string} message - The error message. */ export class FatalWriteFileSyncException extends Error { constructor(message) { super(message); this.name = 'FatalWriteFileSyncException'; this.message = message; console.error(`${this.name}: ${this.message}`); } }