Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,13 +197,13 @@ at the last index.

#### retryOperation.mainError()

A reference to the error object that occured most frequently. Errors are
A reference to the error object that occurred 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 occurred the same amount of time, the last error
object with that message is returned.

If no errors occured so far, the value is `null`.
If no errors occurred so far, the value is `null`.

#### retryOperation.attempt(fn, timeoutOps)

Expand Down