export type FetchError = { code?: string | undefined message?: string | undefined status?: number statusText?: string }