Skip to content

Commit 5d9fb5d

Browse files
committed
docs(api): document NotFound error for missing paths
- Add Deno.errors.NotFound to constructor error documentation
1 parent 5de3a78 commit 5d9fb5d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/Superwatcher.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ watcher.start()
3131

3232
### `new Superwatcher(options: WatcherOptions)`
3333

34-
Creates a new watcher instance. All options are validated at construction and throw a descriptive `TypeError` on invalid input.
34+
Creates a new watcher instance. All options are validated at construction and throw a descriptive `TypeError` on invalid input. Throws `Deno.errors.NotFound` if any path does not exist.
3535

3636
```typescript
3737
// Watch a directory

0 commit comments

Comments
 (0)