Every API is different about how it throws back errors. It's quite important that we show a useful message to the user, rather than "Bad request" or "Invalid status code".
We need a JS function on the global level which automatically tries to pull out errors from the body on failure.
Every API is different about how it throws back errors. It's quite important that we show a useful message to the user, rather than "Bad request" or "Invalid status code".
We need a JS function on the global level which automatically tries to pull out errors from the body on failure.