aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJoyee Cheung <joyeec9h3@gmail.com>2018-03-14 18:55:43 +0800
committerJoyee Cheung <joyeec9h3@gmail.com>2018-03-19 07:40:39 +0800
commit301f6cc553bd73cfa345ae7de6ee81655efc57d0 (patch)
treee0bb361a50db4340d4cd43a8f720beb5f66f39fb /doc
parent897cec43c67d036f631e0538a8172a5a8f759611 (diff)
downloadandroid-node-v8-301f6cc553bd73cfa345ae7de6ee81655efc57d0.tar.gz
android-node-v8-301f6cc553bd73cfa345ae7de6ee81655efc57d0.tar.bz2
android-node-v8-301f6cc553bd73cfa345ae7de6ee81655efc57d0.zip
fs: remove watcher state errors for fs.watch
- Remove ERR_FS_WATCHER_ALREADY_STARTED and ERR_FS_WATCHER_NOT_STARTED because those two situations should result in noop instead of errors for consistency with the documented behavior of fs.watchFile. This partially reverts https://github.com/nodejs/node/pull/19089 - Update comments about this behavior. Refs: https://github.com/nodejs/node/pull/19089 PR-URL: https://github.com/nodejs/node/pull/19345 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michaƫl Zasso <targos@protonmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/api/errors.md12
1 files changed, 0 insertions, 12 deletions
diff --git a/doc/api/errors.md b/doc/api/errors.md
index f5190dc52b..5c38dde413 100644
--- a/doc/api/errors.md
+++ b/doc/api/errors.md
@@ -783,18 +783,6 @@ falsy value.
An invalid symlink type was passed to the [`fs.symlink()`][] or
[`fs.symlinkSync()`][] methods.
-<a id="ERR_FS_WATCHER_ALREADY_STARTED"></a>
-### ERR_FS_WATCHER_ALREADY_STARTED
-
-An attempt was made to start a watcher returned by `fs.watch()` that has
-already been started.
-
-<a id="ERR_FS_WATCHER_NOT_STARTED"></a>
-### ERR_FS_WATCHER_NOT_STARTED
-
-An attempt was made to initiate operations on a watcher returned by
-`fs.watch()` that has not yet been started.
-
<a id="ERR_HTTP_HEADERS_SENT"></a>
### ERR_HTTP_HEADERS_SENT