Improve request error debug output

This commit is contained in:
Toby Zerner
2015-10-21 10:47:07 +10:30
parent 14af6c0e8b
commit 2a5c0c1c7a
3 changed files with 14 additions and 4 deletions

View File

@ -1,7 +1,8 @@
export default class RequestError {
constructor(status, responseText, xhr) {
constructor(status, responseText, options, xhr) {
this.status = status;
this.responseText = responseText;
this.options = options;
this.xhr = xhr;
try {