From 1cd33e7d71f3d3a2c69c55b817ab9057e2f6858c Mon Sep 17 00:00:00 2001 From: Russell Dempsey <1173416+SgtPooki@users.noreply.github.com> Date: Fri, 22 Mar 2024 13:02:56 -0700 Subject: [PATCH] docs: add note about AbortError type --- packages/verified-fetch/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/verified-fetch/README.md b/packages/verified-fetch/README.md index bb3ef513..2830a832 100644 --- a/packages/verified-fetch/README.md +++ b/packages/verified-fetch/README.md @@ -615,7 +615,7 @@ Known Errors that can be thrown: 1. `TypeError` - If the resource argument is not a string, CID, or CID string. 2. `TypeError` - If the options argument is passed and not an object. 3. `TypeError` - If the options argument is passed and is malformed. -4. `AbortError` - If the content request is aborted due to user aborting provided AbortSignal. +4. `AbortError` - If the content request is aborted due to user aborting provided AbortSignal. Note that this is a `AbortError` from `@libp2p/interface` and not the standard `AbortError` from the Fetch API. # Install