docs: clarify grammatical error (#39279)

The sentence is grammatically incorrect. The new sentence fixes the error.
PR Close #39279
This commit is contained in:
Josh Wiegand 2020-10-14 22:28:29 -04:00 committed by Andrew Kushnir
parent 767fdccf59
commit 41c2228d49
1 changed files with 1 additions and 1 deletions

View File

@ -180,7 +180,7 @@ give it a `catchError()` operator.
</code-example>
The `catchError()` operator intercepts an **`Observable` that failed**.
It passes the error an error handler that can do what it wants with the error.
The operator then passes the error to the error handling function.
The following `handleError()` method reports the error and then returns an
innocuous result so that the application keeps working.