Skip to content

Commit

Permalink
docs: add note about AbortError type
Browse files Browse the repository at this point in the history
  • Loading branch information
SgtPooki committed Mar 22, 2024
1 parent 8922152 commit 1cd33e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/verified-fetch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 1cd33e7

Please sign in to comment.