-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Milestone
Description
Hmm, wondering if not we should try to fix the real problem that is that we return a custom AbortError message, it should rather be a DOMException
// Browser test:
ctrl = new AbortController()
ctrl.abort()
fetch('/', ctrl).catch(console.log)
// DOMException {
// name: AbortError,
// code: 20,
// message: "Failed to execute 'fetch' on 'Window': The user aborted a request."
// }We could optionally start to depend on node-domexception. it's already included by another sub dependency of ours (fetch-blob).
Originally posted by @jimmywarting in #1513 (comment)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels