Skip to content

PluginDataHandler.reportParseError method

PluginDataHandler › reportParseError

Tells the user that data.json could not be parsed: a notice naming the plugin and the path, and the error in the console.

Signature:

reportParseError(error: PluginDataParseError): void

Parameters:

ParameterTypeDescription
errorPluginDataParseErrorThe parse error.

Returns: void