export type FetchResult<T> = { value?: T; err?: unknown }