Skip to main content
Deno 2 is finally here 🎉️
Learn more
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://deno.land/x/pothos@release-1703191169/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; }>