Add "Debug" button to inspect the response of a failed AJAX request

Related to #118
This commit is contained in:
Toby Zerner
2015-09-18 16:46:46 +09:30
parent 80665450fc
commit efca923d30
6 changed files with 79 additions and 17 deletions

View File

@ -0,0 +1,6 @@
export default class RequestError {
constructor(message, responseText) {
this.message = message;
this.responseText = responseText;
}
}