Skip to content

Commit

Permalink
FileSystemDirectoryHandle.getDirectoryHandle() may also throw `Type…
Browse files Browse the repository at this point in the history
…Error` (mdn#29550)

* Update index.md

* Update files/en-us/web/api/filesystemdirectoryhandle/getdirectoryhandle/index.md

---------

Co-authored-by: Jean-Yves Perrier <[email protected]>
  • Loading branch information
skyclouds2001 and teoli2003 authored Oct 9, 2023
1 parent 420cf51 commit 7178770
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ A {{jsxref('Promise')}} which resolves with a {{domxref('FileSystemDirectoryHand

- `NotAllowedError` {{domxref("DOMException")}}
- : Thrown if {{domxref('PermissionStatus')}} is not 'granted'.
- {{jsxref("TypeError")}}
- : Thrown if the name specified is not a valid string or contains characters that would
interfere with the native file system.
- `TypeMismatchError` {{domxref("DOMException")}}
- : Thrown if the returned entry is a file and not a directory.
- `NotFoundError` {{domxref("DOMException")}}
Expand Down

0 comments on commit 7178770

Please sign in to comment.