Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
type alias default.Network.ErrorReason
import { type default } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.d.ts";
const { ErrorReason } = default.Network;

Network level fetch failure reason.

definition:
| "Failed"
| "Aborted"
| "TimedOut"
| "AccessDenied"
| "ConnectionClosed"
| "ConnectionReset"
| "ConnectionRefused"
| "ConnectionAborted"
| "ConnectionFailed"
| "NameNotResolved"
| "InternetDisconnected"
| "AddressUnreachable"
| "BlockedByClient"
| "BlockedByResponse"