From ce6f832eebb72596e1ea464d854bb0c3f523897b Mon Sep 17 00:00:00 2001 From: Adam Fraser Date: Mon, 16 Oct 2023 09:33:18 -0700 Subject: [PATCH] fix typo --- docs/reference/schedule/repetition.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/schedule/repetition.md b/docs/reference/schedule/repetition.md index 9e75cebb280..2aa75be0455 100644 --- a/docs/reference/schedule/repetition.md +++ b/docs/reference/schedule/repetition.md @@ -27,7 +27,7 @@ val policy: Schedule[R1, A, B] = ??? val repeated = action repeat policy ``` -There is another version of `repeat` that helps us to have a fallback strategy in case of erros, if something goes wrong we can handle that by using the `ZIO#repeatOrElse` function, which helps up to add an `orElse` callback that will run in case of repetition failure: +There is another version of `repeat` that helps us to have a fallback strategy in case of errors, if something goes wrong we can handle that by using the `ZIO#repeatOrElse` function, which helps up to add an `orElse` callback that will run in case of repetition failure: ```scala val action: ZIO[R, E, A] = ???