Wraps a transport-level fetch rejection (DNS failure, connection refused, TLS or CORS error) with the request method and URL, preserving the original as Error.cause.
fetch
Optional
Readonly
The HTTP method of the failed request (defaults to "GET").
"GET"
The request URL that failed, when derivable from the fetch input.
Wraps a transport-level
fetchrejection (DNS failure, connection refused, TLS or CORS error) with the request method and URL, preserving the original as Error.cause.