A network error caused by the client or an unexpected response from the server.
Network errors are considered retryable, all others error types will be reported immediately.
To avoid bundling DOM typings (because the client can run in Node env too),
you should supply the
Response generic depending on your Fetch implementation.
• new NetworkError<
src/client.ts:667 (opens in a new tab)
The underlyig response thats considered an error.
Will be undefined when no response is received, instead an unexpected network error.