Module

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

Pothos GraphQL is library for creating GraphQL schemas in typescript using a strongly typed code first approach
Go to Latest
interface ErrorsPluginOptions
import { type ErrorsPluginOptions } from "https://dotland.deno.dev/x/pothos@release-1713397530/packages/plugin-errors/index.ts";

Properties

optional
defaultTypes: (new (...args: any[]) => Error)[]
optional
directResult: boolean
optional
defaultUnionOptions: Normalize<Omit<PothosSchemaTypes.UnionTypeOptions<Types>, "resolveType" | "types"> & { name?: GetTypeName; }>
optional
defaultResultOptions: Normalize<Omit<PothosSchemaTypes.ObjectTypeOptions<Types, { }>, "interfaces" | "isTypeOf"> & { name?: GetTypeName; }>