Skip to content

PluginDataParseErrorConstructorParams

Parameters for PluginDataParseError.

Import:

import type { PluginDataParseErrorConstructorParams } from '@mnaoumov/obsidian-lib/data-handler';

Signature:

export interface PluginDataParseErrorConstructorParams

Properties

PropertyTypeDescription
causeunknownThe error JSON.parse threw.
pathstringThe path of the plugin's data.json.
pluginIdstringThe manifest.id of the plugin.
pluginNamestringThe manifest.name of the plugin.
recoveryCopynull | SettingsRecoveryCopyThe recovery copy kept of the file, or null when none could be kept.