UNPKG

@pothos/plugin-scope-auth

Version:

A Pothos plugin for adding scope based authorization checks to your GraphQL Schema

9 lines (8 loc) 307 B
import { PothosValidationError } from '@pothos/core'; import type { AuthFailure } from './index.js'; export declare class ForbiddenError extends PothosValidationError { code: string; result: AuthFailure; constructor(message: string, result?: AuthFailure); } //# sourceMappingURL=errors.d.ts.map