try {
      const beforeError = await runCallback(this, "BeforeError", before);
      if (beforeError) {
        throw beforeError;
      }