Skip to content

Commit

Permalink
Add unknown scheme error to examples
Browse files Browse the repository at this point in the history
  • Loading branch information
nflaig committed Jul 28, 2023
1 parent dbe4a97 commit a2e6619
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/utils/src/fetch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ type NativeFetchError = TypeError & {
* cause: SocketError: other side closed
* code: 'UND_ERR_SOCKET',
* socket: {}
* ---------------------------
* TypeError: fetch failed
* cause: Error: unknown scheme
* [cause]: undefined
* ```
*/
type NativeFetchFailedError = NativeFetchError & {
Expand Down

0 comments on commit a2e6619

Please sign in to comment.