1 | import type { ResponseHeaders } from "@octokit/types";
|
2 | import type { GraphQlEndpointOptions, GraphQlQueryResponse } from "./types.js";
|
3 | type ServerResponseData<T> = Required<GraphQlQueryResponse<T>>;
|
4 | export declare class GraphqlResponseError<ResponseData> extends Error {
|
5 | readonly request: GraphQlEndpointOptions;
|
6 | readonly headers: ResponseHeaders;
|
7 | readonly response: ServerResponseData<ResponseData>;
|
8 | name: string;
|
9 | readonly errors: GraphQlQueryResponse<never>["errors"];
|
10 | readonly data: ResponseData;
|
11 | constructor(request: GraphQlEndpointOptions, headers: ResponseHeaders, response: ServerResponseData<ResponseData>);
|
12 | }
|
13 | export {};
|