From a8cc1495528a1fff9a90cf6eac5dde0348684e28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Davide=20Cal=C3=AC?= Date: Fri, 2 Apr 2021 14:38:04 +0200 Subject: [PATCH] handleWith should be handleError in the comment section of the `handleError` example, it is listed as `handleWith` --- src/pages/monads/monad-error.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/monads/monad-error.md b/src/pages/monads/monad-error.md index ba5c46bc..23e91c7c 100644 --- a/src/pages/monads/monad-error.md +++ b/src/pages/monads/monad-error.md @@ -101,7 +101,7 @@ monadError.handleErrorWith(failure) { ``` If we know we can handle all possible errors -we can use `handleWith`. +we can use `handleError`. ```scala mdoc monadError.handleError(failure) {