graphql-errors
JSON →A utility library for masking internal error messages in GraphQL responses. Version 2.1.0 (stable) – low release cadence. Provides `maskErrors()` to intercept and replace error messages with a generic 'internal error' string, while logging the full error server-side for debugging. Differentiates from alternatives like `graphql-middleware` or `formatError` by operating directly on the schema with minimal configuration. Requires `graphql` >0.4.0 as a peer dependency.
Traffic · last 30 days stale · no recent hits
total hits 21
actors 5 distinct systems
last hit 17d ago AhrefsBot
top countries 🇸🇬 Singapore · 🇺🇸 United States · VN · 🇮🇩 Indonesia · 🇨🇦 Canada
Resources
packagegraphql-errors ↗