Skip to content

PluginDataSizeLimitExceededErrorConstructorParams

Parameters for PluginDataSizeLimitExceededError.

Import:

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

Signature:

export interface PluginDataSizeLimitExceededErrorConstructorParams

Properties

PropertyTypeDescription
maxSizeInBytesnumberThe size limit, in bytes.
operationPluginDataOperationThe refused operation.
pathstringThe path of the plugin's data.json.
pluginIdstringThe manifest.id of the plugin.
pluginNamestringThe manifest.name of the plugin.
sizeInBytesnumberThe size of the existing file (load) or of the serialized data (save), in bytes.