asb_cloud_front/src/components/ErrorFetch.js

7 lines
152 B
JavaScript
Raw Normal View History

2021-10-11 13:41:54 +05:00
export class ErrorFetch extends Error {
constructor(status, message) {
super(message);
this.name = "ErrorFetch"
this.status = status
}
}