Skip to content

PluginApiValidationErrorConstructorParams

Parameters for the PluginApiValidationError constructor.

Import:

import type { PluginApiValidationErrorConstructorParams } from 'obsidian-dev-utils/obsidian/plugin/plugin-api';

Signature:

export interface PluginApiValidationErrorConstructorParams

Properties

PropertyTypeDescription
issuesreadonly StandardSchemaV1.Issue[]The issues the schema reported.
methodNamestringThe name of the method whose payload failed validation.
payloadKindPluginApiPayloadKindWhether the input or the output failed.
pluginIdstringThe manifest.id of the providing plugin.