1 | import { GraphQLError } from 'graphql';
|
2 | export declare function isApolloError(err: Error): err is ApolloError;
|
3 | export declare class ApolloError extends Error {
|
4 | message: string;
|
5 | graphQLErrors: ReadonlyArray<GraphQLError>;
|
6 | networkError: Error | null;
|
7 | extraInfo: any;
|
8 | constructor({ graphQLErrors, networkError, errorMessage, extraInfo, }: {
|
9 | graphQLErrors?: ReadonlyArray<GraphQLError>;
|
10 | networkError?: Error | null;
|
11 | errorMessage?: string;
|
12 | extraInfo?: any;
|
13 | });
|
14 | }
|
15 | //# sourceMappingURL=ApolloError.d.ts.map |
\ | No newline at end of file |