(status: number, statusText: string, message: string, body: any)
| 4 | body?: any; |
| 5 | |
| 6 | constructor(status: number, statusText: string, message: string, body: any) { |
| 7 | super(statusText); |
| 8 | this.status = status; |
| 9 | this.statusText = statusText; |
| 10 | this.message = message; |
| 11 | this.body = body; |
| 12 | Object.setPrototypeOf(this, HttpError.prototype); |
| 13 | } |
| 14 | } |
| 15 | |
| 16 | export default async function fetcher<JSON = any>( |
nothing calls this directly
no outgoing calls
no test coverage detected