function createInvalidPluginError(...args) {
    deprecate('Use createInvalidLegacyPluginError() instead');
    return createInvalidLegacyPluginError(...args);
  }
**DEPRECATED**.  Use {@link createInvalidLegacyPluginError} instead  Dynamically creates a plugin-type-specific error based on plugin type
@deprecated
@param {string} message - Error message
@param {"reporter"|"interface"} pluginType - Plugin type. Future: expand as needed
@param {string} [pluginId] - Name/path of plugin, if any
@throws When `pluginType` is not known
@public
@static
@returns {Error}