(error: FetchError, responseStatus: number, backend: Backend)
| 192 | } |
| 193 | |
| 194 | function handleRequestError(error: FetchError, responseStatus: number, backend: Backend) { |
| 195 | throw new APIError(error.message, responseStatus, backend); |
| 196 | } |
| 197 | |
| 198 | export async function apiRequest( |
| 199 | path: string, |