UNPKG

451 BTypeScriptView Raw
1import type { ErrorCodes } from "../invariantErrorCodes.js";
2import type { ErrorMessageHandler } from "./setErrorMessageHandler.js";
3/**
4 * Injects Apollo Client's default error message handler into the application and
5 * also loads the error codes that are passed in as arguments.
6 */
7export declare function loadErrorMessageHandler(...errorCodes: ErrorCodes[]): ErrorMessageHandler & ErrorCodes;
8//# sourceMappingURL=loadErrorMessageHandler.d.ts.map
\No newline at end of file