From df07a00bbfede7dfdfc3f876f0e14df958c6349b Mon Sep 17 00:00:00 2001 From: Jack Lawrence-Jones Date: Wed, 13 Sep 2023 12:11:02 +0100 Subject: [PATCH] Clarify retryOperation.mainError() docs --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 976f688..feec8c5 100644 --- a/README.md +++ b/README.md @@ -200,7 +200,7 @@ at the last index. A reference to the error object that occured most frequently. Errors are compared using the `error.message` property. -If multiple error messages occured the same amount of time, the last error +If multiple error messages occured the same number of times, the last error object with that message is returned. If no errors occured so far, the value is `null`.