class PluginError extends Error {
  constructor(message, pluginName, error) {
    super(message);
    this.name = this.constructor.name;
    Error.captureStackTrace(this, PluginError);