@apollo/client
Version:
A fully-featured caching GraphQL client.
8 lines • 451 B
TypeScript
import type { ErrorCodes } from "../invariantErrorCodes.js";
import type { ErrorMessageHandler } from "./setErrorMessageHandler.js";
/**
* Injects Apollo Client's default error message handler into the application and
* also loads the error codes that are passed in as arguments.
*/
export declare function loadErrorMessageHandler(...errorCodes: ErrorCodes[]): ErrorMessageHandler & ErrorCodes;
//# sourceMappingURL=loadErrorMessageHandler.d.ts.map