We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e82698 commit 020a752Copy full SHA for 020a752
1 file changed
packages/core/src/v3/types/tasks.ts
@@ -149,11 +149,7 @@ export type HandleErrorArgs = {
149
signal?: AbortSignal;
150
};
151
152
-export type HandleErrorFunction = (
153
- payload: any,
154
- error: unknown,
155
- params: HandleErrorArgs
156
-) => HandleErrorResult;
+export type HandleErrorFunction = AnyOnCatchErrorHookFunction;
157
158
type CommonTaskOptions<
159
TIdentifier extends string,
0 commit comments