Module

x/pothos/packages/plugin-scope-auth/mod.ts>ForbiddenError

Pothos GraphQL is library for creating GraphQL schemas in typescript using a strongly typed code first approach
Go to Latest
class ForbiddenError
extends Error
import { ForbiddenError } from "https://dotland.deno.dev/x/pothos@release-1670972010/packages/plugin-scope-auth/mod.ts";

Constructors

new
ForbiddenError(message: string, result?: AuthFailure)

Properties

code: string
result: AuthFailure