paint-brush
Global HTTP request error catching in Angular 2by@luukgruijs
88,416 reads
88,416 reads

Global HTTP request error catching in Angular 2

by Luuk Gruijs2mMay 13th, 2017
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Whenever you do an <a href="https://hackernoon.com/tagged/http" target="_blank">HTTP</a> request, there are things that could go wrong. If things go wrong the request will return a response with an error code. Based on this error code you for example want to inform the user what went wrong.
featured image - Global HTTP request error catching in Angular 2
Luuk Gruijs HackerNoon profile picture
Luuk Gruijs

Luuk Gruijs

@luukgruijs

L O A D I N G
. . . comments & more!

About Author

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Javaer101
Sebastienlucas