asb_cloud_front/src/components/ErrorFetch.js
2021-10-11 13:41:54 +05:00

7 lines
152 B
JavaScript

export class ErrorFetch extends Error {
constructor(status, message) {
super(message);
this.name = "ErrorFetch"
this.status = status
}
}