@intisy/bayonet
    Preparing search index...

    Function pluginError

    • Mints a plugin error a caller can throw, marked so any bundle recognises it.

      Parameters

      • pluginId: string

        the id of the plugin the error belongs to

      • detail: string

        what went wrong

      • fix: string

        what the plugin author should do about it

      Returns PluginErrorShape

      the error, ready to throw