forked from ddrilling/asb_cloud_front
7 lines
152 B
JavaScript
7 lines
152 B
JavaScript
export class ErrorFetch extends Error {
|
|
constructor(status, message) {
|
|
super(message);
|
|
this.name = "ErrorFetch"
|
|
this.status = status
|
|
}
|
|
} |