Closed ikudosi closed 1 year ago
Can someone tell / point me on how to get the HTTP response code when an exception is thrown? Or perhaps update the readme on how to do this?
if (error.response) { console.log(error.response.statusCode); }
Ty!
Can someone tell / point me on how to get the HTTP response code when an exception is thrown? Or perhaps update the readme on how to do this?