Preparing for system design interviews?  Try bugzed.com →

graphql-middleware-error-handler

JSON →
library 1.0.2 ·javascript
verified Jun 17, 2026

A generic GraphQL middleware that captures errors thrown in resolvers and forwards them to a custom logging function (e.g., Sentry, Bugsnag). Version 1.0.2 is the current stable release; maintenance is intermittent. Key differentiators: minimal API with only three options (onError, captureReturnedErrors, forwardErrors), works with any GraphQL server supporting graphql-middleware (v2–v6), and allows control over error rethrowing and returning error capture.

total hits 12
actors 4 distinct systems
last hit 17d ago AhrefsBot
GPTBot
4
Script
1
Search engines
3

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇫🇷 France