UNPKG

type-graphql

Version:

Create GraphQL schema and resolvers with TypeScript, using classes and decorators!

9 lines (8 loc) 246 B
import { GraphQLError } from "graphql"; export declare class AuthorizationError extends GraphQLError { readonly extensions: { code: "UNAUTHORIZED"; [attributeName: string]: unknown; }; constructor(message?: string); }