Skip to main content

Class: DataImportExportError

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

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.

Extends

Constructors

Constructor

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

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

Create a new DataImportExportError.

Parameters

message

string

Human-readable error message.

options?

ErrorOptions

Optional error options with causal metadata.

Returns

DataImportExportError

Overrides

Error.constructor