diff --git a/resources/assets/js/fetch.ts b/resources/assets/js/fetch.ts index 01e1431..2c16091 100644 --- a/resources/assets/js/fetch.ts +++ b/resources/assets/js/fetch.ts @@ -67,5 +67,6 @@ export class ResponseError extends Error { this.name = 'ResponseError'; this.response = response; + Object.setPrototypeOf(this, new.target.prototype); } }