docs(toh-6): remove details about throw
This commit is contained in:
parent
0387b810c6
commit
f00b96fab8
@ -472,8 +472,7 @@ block observables-section
|
|||||||
:marked
|
:marked
|
||||||
* `catch` intercepts a failed observable.
|
* `catch` intercepts a failed observable.
|
||||||
Our simple example prints the error to the console; a real life application should do better.
|
Our simple example prints the error to the console; a real life application should do better.
|
||||||
Then it re-throws the failed observable so that downstream processes know it failed.
|
Then we return an observable containing an empty array to clear the search result.
|
||||||
The `AsyncPipe` in the template is downstream. It sees the failure and ignores it.
|
|
||||||
|
|
||||||
### Import RxJS operators
|
### Import RxJS operators
|
||||||
The RxJS operators are not available in Angular's base `Observable` implementation.
|
The RxJS operators are not available in Angular's base `Observable` implementation.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user