summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJames M Snell <jasnell@gmail.com>2017-12-13 14:24:34 -0800
committerJames M Snell <jasnell@gmail.com>2017-12-22 12:49:10 -0800
commit6100e12667429acad1827b6d918e512e55a7a6a7 (patch)
tree4fac815add3abf5d54112723798ecc78cb3e06fa /doc
parent92fc14a4595d460394cad8ad5a091dcc450068a5 (diff)
downloadandroid-node-v8-6100e12667429acad1827b6d918e512e55a7a6a7.tar.gz
android-node-v8-6100e12667429acad1827b6d918e512e55a7a6a7.tar.bz2
android-node-v8-6100e12667429acad1827b6d918e512e55a7a6a7.zip
fs: move type checking to js
PR-URL: https://github.com/nodejs/node/pull/17667 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/api/errors.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/api/errors.md b/doc/api/errors.md
index 4f7e2651c9..c5e8516442 100644
--- a/doc/api/errors.md
+++ b/doc/api/errors.md
@@ -783,6 +783,12 @@ Encoding provided to `util.TextDecoder()` API was not one of the
A `Promise` that was callbackified via `util.callbackify()` was rejected with a
falsy value.
+<a id="ERR_FS_INVALID_SYMLINK_TYPE"></a>
+### ERR_FS_INVALID_SYMLINK_TYPE
+
+An invalid symlink type was passed to the [`fs.symlink()`][] or
+[`fs.symlinkSync()`][] methods.
+
<a id="ERR_HTTP_HEADERS_SENT"></a>
### ERR_HTTP_HEADERS_SENT
@@ -1609,6 +1615,8 @@ Creation of a [`zlib`][] object failed due to incorrect configuration.
[`dgram.createSocket()`]: dgram.html#dgram_dgram_createsocket_options_callback
[`ERR_INVALID_ARG_TYPE`]: #ERR_INVALID_ARG_TYPE
[`EventEmitter`]: events.html#events_class_eventemitter
+[`fs.symlink()`]: fs.html#fs_symlink
+[`fs.symlinkSync()`]: fs.html#fs_symlinksync
[`hash.digest()`]: crypto.html#crypto_hash_digest_encoding
[`hash.update()`]: crypto.html#crypto_hash_update_data_inputencoding
[`readable._read()`]: stream.html#stream_readable_read_size_1