{"library":"graphql-middleware-error-handler","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"1.0.2","tags":["javascript","graphql","middleware","error","exception","handler","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install graphql-middleware-error-handler","imports":["import { errorHandler } from 'graphql-middleware-error-handler'","import { ErrorHandlerOptions } from 'graphql-middleware-error-handler'","import type { ErrorMiddlewareFn } from 'graphql-middleware-error-handler'","const { errorHandler } = require('graphql-middleware-error-handler')"]},{"cmd":"yarn add graphql-middleware-error-handler","imports":[]},{"cmd":"pnpm add graphql-middleware-error-handler","imports":[]}],"homepage":null,"github":"https://github.com/unitedwardrobe/graphql-middleware-error-handler","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/graphql-middleware-error-handler","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/graphql-middleware-error-handler/compatibility"}}