Vizel API / core/src / validateVizelPlugin
Function: validateVizelPlugin()
ts
function validateVizelPlugin(plugin): void;Defined in: packages/core/src/plugin-system.ts:64
Validate a plugin's required fields and format.
Throw a typed VizelError("INVALID_CONFIG", ...) carrying the offending plugin name in context.plugin when validation fails. A malformed plugin is a developer mistake, so the error surfaces at the boundary rather than flowing through onError.
Parameters
| Parameter | Type |
|---|---|
plugin | VizelPlugin |
Returns
void