Closed kipply closed 10 months ago
instead of having to console.log(res.body.message); to get error messages, it would be nice to return an error type so we could do err.message and eventually do things like this;
console.log(res.body.message);
err.message
instead of having to
console.log(res.body.message);
to get error messages, it would be nice to return an error type so we could doerr.message
and eventually do things like this;