API request errors should keep a handle on the original .xhr
Closed this issue · 0 comments
minrk commented
If an API request fails with 403, 500, etc., it should always be possible to access the status code, and other info attached to the .xhr object. Preserving the .xhr attribute on our re-raised Errors is probably the easiest way to do this.