You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 89b1d8b
Browse filesBrowse the repository at this point in the historyBrowse files
<Info>Errors thrown in the `onFailure` function are ignored.</Info>
430
430
431
431
<Note>
432
-
`onFailure` doesn’t fire for some of the run statuses like `Crashed`, `Systemfailures`, and `Canceled`.
432
+
`onFailure` doesn’t fire for some of the run statuses like `Crashed`, `Systemfailures`, and
433
+
`Canceled`.
433
434
</Note>
434
435
435
-
### `handleError` functions
436
+
### `catchError` functions
436
437
437
438
You can define a function that will be called when an error is thrown in the `run` function, that allows you to control how the error is handled and whether the task should be retried.
438
439
439
-
Read more about `handleError` in our [Errors and Retrying guide](/errors-retrying).
440
+
Read more about `catchError` in our [Errors and Retrying guide](/errors-retrying).
440
441
441
442
<Info>Uncaught errors will throw a special internal error of the type `HANDLE_ERROR_ERROR`.</Info>
0 commit comments