run prettier
This commit is contained in:
parent
c2c9af5785
commit
9b7def4aa4
1 changed files with 3 additions and 1 deletions
|
|
@ -5,7 +5,9 @@ export class AjaxFetchError extends Error {
|
||||||
* @param {string|Object} [body]
|
* @param {string|Object} [body]
|
||||||
*/
|
*/
|
||||||
constructor(request, response, body) {
|
constructor(request, response, body) {
|
||||||
super(`Fetch request to ${request.url} failed with status ${response.status} ${response.statusText}`);
|
super(
|
||||||
|
`Fetch request to ${request.url} failed with status ${response.status} ${response.statusText}`,
|
||||||
|
);
|
||||||
this.name = 'AjaxFetchError';
|
this.name = 'AjaxFetchError';
|
||||||
this.request = request;
|
this.request = request;
|
||||||
this.response = response;
|
this.response = response;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue