Plugin Error Isolation
Errors thrown by a plugin in any hook or event handler are caught and attributed to that plugin. Depending on policy, the plugin is quarantined, and the grid keeps working. This prevents a single faulty extension from breaking the page.
Planned. This page shows the specification from issue #206. The live example, source for every framework and the API reference replace it when the feature ships.
Live example
A grid with a deliberately faulty plugin and a healthy plugin.
Expected behavior
With the 'disable' policy, the faulty plugin is marked as failed and its UI is removed, while the healthy plugin and the grid keep working. pluginError contains the plugin id, the hook and the error.
Planned API surface
pluginErrorPolicy: 'log'|'disable'|'throw'pluginErrorgetPluginStatusretryPluginAcceptance criteria
- A plugin error never stops rendering of the grid (pending)
- Status values are reported as active, failed or disposed (pending)
- retryPlugin re-runs init after cleanup (pending)
- The 'throw' policy rethrows only in development mode (pending)