1 | /// <reference types="node" />
|
2 | /// <reference types="typed-graphql" />
|
3 | import { GraphQLError } from 'graphql';
|
4 | export declare class ApolloError extends Error {
|
5 | message: string;
|
6 | graphQLErrors: GraphQLError[];
|
7 | networkError: Error;
|
8 | extraInfo: any;
|
9 | constructor({graphQLErrors, networkError, errorMessage, extraInfo}: {
|
10 | graphQLErrors?: GraphQLError[];
|
11 | networkError?: Error;
|
12 | errorMessage?: string;
|
13 | extraInfo?: any;
|
14 | });
|
15 | private generateErrorMessage();
|
16 | }
|