PluginDataParseErrorConstructorParams
Parameters for PluginDataParseError.
Import:
import type { PluginDataParseErrorConstructorParams } from '@mnaoumov/obsidian-lib/data-handler';Signature:
export interface PluginDataParseErrorConstructorParamsProperties
| Property | Type | Description |
|---|---|---|
| cause | unknown | The error JSON.parse threw. |
| path | string | The path of the plugin's data.json. |
| pluginId | string | The manifest.id of the plugin. |
| pluginName | string | The manifest.name of the plugin. |
| recoveryCopy | null | SettingsRecoveryCopy | The recovery copy kept of the file, or null when none could be kept. |