GChat Notifier SDK - v0.8.0
    Preparing search index...

    Function gchatExpress

    • Express error handling middleware that captures exceptions and enriches them with request data.

      Returns (err: Error, req: Request, _res: Response, next: NextFunction) => void

      An Express error handling middleware function

      import express from "express";
      import { gchatExpress } from "@gchat-notifier/node";

      const app = express();
      // ... routes
      app.use(gchatExpress()); // Must be after all routes