Skip to content

Commit

Permalink
TraverseCollectionOptions.suppressError option
Browse files Browse the repository at this point in the history
  • Loading branch information
dahlia committed Oct 17, 2024
1 parent 889a3f6 commit 8b9f539
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/vocab/lookup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,12 @@ export interface TraverseCollectionOptions {
*/
contextLoader?: DocumentLoader;

/**
* Whether to suppress errors when fetching pages. If `true`,
* errors will be logged but not thrown. Defaults to `false`.
*/
suppressError?: boolean;

/**
* The interval to wait between fetching pages. Zero or negative
* values will disable the interval. Disabled by default.
Expand Down

0 comments on commit 8b9f539

Please sign in to comment.