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