Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/grapherr/errorHandling/newErrors.ts>newErrors

GraphErr is an open-source error handling library for GraphQL implementations in Deno. It's a lightweight solution that provides developers with descriptive error messages, reducing ambiguity and improving debugging.
Latest
variable newErrors
import { newErrors } from "https://deno.land/x/grapherr@v1.0.3/errorHandling/newErrors.ts";

type

(
gqlQuery: string,
resolvers: Resolvers,
currentQuery: string,
queryCache: QueryCache,
schema: string,
) => NewErrorsOutputObj