Handling HTTP Errors using Javascript
What's more frustrating than seeing Request failed with status code 400 returned from error.message? On the surface, it makes sense that console.log(error.message) should display the error message returned from the backend, but it doesn't. It turns...
Mar 14, 20212 min read256
