Plugins

The Plugins package is a kernel responsible to manage the interactions with the plugins. Refer to Plugin dependencies for an example.

Plugins helper

The pluginsHelper exposes an API to handle all the actions related with the plugins management. Most of the API works through actions and selectors.

getError

Plugins may fail when starting. If they do, we can recover the error through the getError.

Usage
Copy
const error = pluginsHelper.getError(pluginName: string): Error?
  • pluginName String

    The name of the plugin that we want to look for errors.

Returns
  • Error | null

    The error of the plugin during initialization or null if there was no error.