diff --git a/files/en-us/web/api/filesystemfilehandle/createsyncaccesshandle/index.md b/files/en-us/web/api/filesystemfilehandle/createsyncaccesshandle/index.md index 70d1e713fe0ceee..31cc6494f68c033 100644 --- a/files/en-us/web/api/filesystemfilehandle/createsyncaccesshandle/index.md +++ b/files/en-us/web/api/filesystemfilehandle/createsyncaccesshandle/index.md @@ -31,12 +31,14 @@ A {{jsxref('Promise')}} which resolves to a {{domxref('FileSystemSyncAccessHandl ### Exceptions +- `NotAllowedError` {{domxref("DOMException")}} + - : Thrown if the {{domxref('PermissionStatus.state')}} for the handle is not `granted` in `readwrite` mode. - `InvalidStateError` {{domxref("DOMException")}} - : Thrown if the {{domxref('FileSystemSyncAccessHandle')}} object does not represent a file in the [origin private file system](/en-US/docs/Web/API/File_System_API/Origin_private_file_system). +- `NotFoundError` {{domxref("DOMException")}} + - : Thrown if current entry is not found. - `NoModificationAllowedError` {{domxref("DOMException")}} - : Thrown if the browser is not able to acquire a lock on the file associated with the file handle. -- `NotAllowedError` {{domxref("DOMException")}} - - : Thrown if the permission has not been granted at the API level (i.e. {{domxref("FileSystemHandle.requestPermission")}} is required). ## Examples diff --git a/files/en-us/web/api/filesystemfilehandle/createwritable/index.md b/files/en-us/web/api/filesystemfilehandle/createwritable/index.md index 40bd582964d07fc..5a0b1fc42f98ea5 100644 --- a/files/en-us/web/api/filesystemfilehandle/createwritable/index.md +++ b/files/en-us/web/api/filesystemfilehandle/createwritable/index.md @@ -40,6 +40,12 @@ A {{jsxref('Promise')}} which resolves to a {{domxref('FileSystemWritableFileStr - `NotAllowedError` {{domxref("DOMException")}} - : Thrown if the {{domxref('PermissionStatus.state')}} for the handle is not `'granted'` in `readwrite` mode. +- `NotFoundError` {{domxref("DOMException")}} + - : Thrown if current entry is not found. +- `NoModificationAllowedError` {{domxref("DOMException")}} + - : Thrown if the browser is not able to acquire a lock on the file associated with the file handle. +- `AbortError` {{domxref("DOMException")}} + - : Thrown if implementation-defined malware scans and safe-browsing checks fails. ## Examples diff --git a/files/en-us/web/api/filesystemfilehandle/getfile/index.md b/files/en-us/web/api/filesystemfilehandle/getfile/index.md index 688263bbf818ead..2f69d084bf9c836 100644 --- a/files/en-us/web/api/filesystemfilehandle/getfile/index.md +++ b/files/en-us/web/api/filesystemfilehandle/getfile/index.md @@ -32,8 +32,9 @@ A {{jsxref('Promise')}} which resolves to a {{domxref('File')}} object. ### Exceptions - `NotAllowedError` {{domxref("DOMException")}} - - : Thrown if the {{domxref('PermissionStatus.state')}} is not `granted` in - read mode. + - : Thrown if the {{domxref('PermissionStatus.state')}} is not `granted` in `read` mode. +- `NotFoundError` {{domxref("DOMException")}} + - : Thrown if current entry is not found. ## Examples