docs: clarify grammatical error (#39279)
The sentence is grammatically incorrect. The new sentence fixes the error. PR Close #39279
This commit is contained in:
parent
767fdccf59
commit
41c2228d49
|
@ -180,7 +180,7 @@ give it a `catchError()` operator.
|
||||||
</code-example>
|
</code-example>
|
||||||
|
|
||||||
The `catchError()` operator intercepts an **`Observable` that failed**.
|
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
|
The following `handleError()` method reports the error and then returns an
|
||||||
innocuous result so that the application keeps working.
|
innocuous result so that the application keeps working.
|
||||||
|
|
Loading…
Reference in New Issue