Does Angular 2 framework contain Http Response Status Codes as constants?
So instead of writing 404 I can write HttpStatus.NOT_FOUND.
Thanks!
as of now in angular 12 this feature is now available
https://angular.io/api/common/http/HttpStatusCode
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With