@pothos/plugin-scope-auth
Version:
A Pothos plugin for adding scope based authorization checks to your GraphQL Schema
9 lines (8 loc) • 307 B
TypeScript
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