PluginApiUnavailableErrorConstructorParams
Parameters for the PluginApiUnavailableError constructor.
Import:
import type { PluginApiUnavailableErrorConstructorParams } from 'obsidian-dev-utils/obsidian/plugin/plugin-api';Signature:
export interface PluginApiUnavailableErrorConstructorParamsProperties
| Property | Type | Description |
|---|---|---|
| message? | string | An explicit message. When omitted, one is derived from the plugin id and the reason. |
| pluginId | string | The manifest.id of the plugin whose API was requested. |
| reason | PluginApiUnavailabilityReason | Which of the five failures occurred. |