Skip to main content
Module

x/pothos/packages/plugin-errors/mod.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-1721977283/packages/plugin-errors/mod.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>