@jager-ai/holy-editor
Version:
Rich text editor with Bible verse slash commands and PWA keyboard tracking, extracted from Holy Habit project
27 lines • 790 B
JavaScript
;
/**
* HolyEditor Types
*
* Type definitions for the HolyEditor system
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.BibleApiError = exports.EditorError = void 0;
// Error handling
class EditorError extends Error {
constructor(message, code, originalError) {
super(message);
this.code = code;
this.originalError = originalError;
this.name = 'EditorError';
}
}
exports.EditorError = EditorError;
class BibleApiError extends EditorError {
constructor(message, statusCode, originalError) {
super(message, 'BIBLE_API_ERROR', originalError);
this.statusCode = statusCode;
this.name = 'BibleApiError';
}
}
exports.BibleApiError = BibleApiError;
//# sourceMappingURL=Editor.js.map