function getFromString(string) {
    /**
     * We allow query strings for plugins, so always split on ?
     */
    var split = string.split("?");

    var outGoing = new Plugin({
        moduleName: split[0],
        name: split[0]
    });

    if (split.length > 1) {
        return outGoing.update("options", function(opts) {
            const parsed = parseParams(split[1]);
            return opts.mergeDeep(parsed);
        });
    }

    return outGoing;
}
Finally return a plugin that contains the error
this will be picked up later and discarded