Skip to main content

Class: DataImportExportError

Defined in: electron/services/database/interfaces.ts:114

Custom error for import/export data operations.

Remarks​

Used by DataImportExportService to surface errors related to JSON export, JSON import parsing, schema validation, and persistence workflows.

Unlike SiteLoadingError, this error does not apply a site-loading specific prefix to the message.

Hierarchy​

View Summary

Extends​

Constructors​

Constructor​

new DataImportExportError(message: string, options?: ErrorOptions): DataImportExportError;

Defined in: electron/services/database/interfaces.ts:121

Create a new DataImportExportError.

Parameters​

message​

string

Human-readable error message.

options?​

ErrorOptions

Optional error options with causal metadata.

Returns​

DataImportExportError

Overrides​

Error.constructor;