Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/pothos/packages/plugin-errors/index.ts>PothosErrorsPlugin

Pothos GraphQL is library for creating GraphQL schemas in typescript using a strongly typed code first approach
Go to Latest
class PothosErrorsPlugin
extends BasePlugin<Types>
import { PothosErrorsPlugin } from "https://deno.land/x/pothos@release-1670043728/packages/plugin-errors/index.ts";

Methods

wrapIsTypeOf(isTypeOf: GraphQLIsTypeOfFn<unknown, Types["Context"]> | undefined, config: PothosObjectTypeConfig): GraphQLIsTypeOfFn<unknown, Types["Context"]> | undefined
wrapResolve(resolver: GraphQLFieldResolver<unknown, Types["Context"], object>, fieldConfig: PothosOutputFieldConfig<Types>): GraphQLFieldResolver<unknown, Types["Context"], object>