Skip to content

Commit

Permalink
docs: fix link to refer to RxJS pipes (#51851)
Browse files Browse the repository at this point in the history
PR Close #51851
  • Loading branch information
textbook authored and alxhub committed Sep 29, 2023
1 parent aa4069d commit c4d77fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aio/content/guide/http-handle-request-errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ The following example defines an error handler in the previously defined ConfigS
<code-example header="app/config/config.service.ts (handleError)" path="http/src/app/config/config.service.ts" region="handleError"></code-example>

The handler returns an RxJS `ErrorObservable` with a user-friendly error message.
The following code updates the `getConfig()` method, using a [pipe](guide/pipes-overview 'Pipes guide') to send all observables returned by the `HttpClient.get()` call to the error handler.
The following code updates the `getConfig()` method, using a [pipe](guide/rx-library#operators 'RxJS Operators') to send all observables returned by the `HttpClient.get()` call to the error handler.

<code-example header="app/config/config.service.ts (getConfig v.3 with error handler)" path="http/src/app/config/config.service.ts" region="getConfig_3"></code-example>

Expand Down

0 comments on commit c4d77fd

Please sign in to comment.