An alternative: patch `/client/lib/request.js` to check for either `error` or `errno` to reject.