@@ -2333,6 +2333,10 @@ error `UV_ENOSYS`.
2333
2333
<!-- YAML
2334
2334
deprecated: v0.4.7
2335
2335
changes:
2336
+ - version: REPLACEME
2337
+ pr-url: https://github.com./nodejs/node/pull/37460
2338
+ description: The error returned may be an `AggregateError` if more than one
2339
+ error is returned.
2336
2340
- version: v10.0.0
2337
2341
pr-url: https://github.com./nodejs/node/pull/12562
2338
2342
description: The `callback` parameter is no longer optional. Not passing
@@ -2346,7 +2350,7 @@ changes:
2346
2350
* `path` {string|Buffer|URL}
2347
2351
* `mode` {integer}
2348
2352
* `callback` {Function}
2349
- * `err` {Error}
2353
+ * `err` {Error|AggregateError }
2350
2354
2351
2355
Changes the permissions on a symbolic link. No arguments other than a possible
2352
2356
exception are given to the completion callback.
@@ -2809,6 +2813,10 @@ If `options.withFileTypes` is set to `true`, the `files` array will contain
2809
2813
<!-- YAML
2810
2814
added: v0.1.29
2811
2815
changes:
2816
+ - version: REPLACEME
2817
+ pr-url: https://github.com./nodejs/node/pull/37460
2818
+ description: The error returned may be an ` AggregateError ` if more than one
2819
+ error is returned.
2812
2820
- version: v15.2.0
2813
2821
pr-url: https://github.com./nodejs/node/pull/35911
2814
2822
description: The options argument may include an AbortSignal to abort an
@@ -2840,7 +2848,7 @@ changes:
2840
2848
* ` flag` {string} See [support of file system ` flags` ][]. **Default:** ` ' r' ` .
2841
2849
* ` signal` {AbortSignal} allows aborting an in-progress readFile
2842
2850
* ` callback` {Function}
2843
- * ` err` {Error}
2851
+ * ` err` {Error|AggregateError }
2844
2852
* ` data` {string|Buffer}
2845
2853
2846
2854
Asynchronously reads the entire contents of a file.
@@ -3384,6 +3392,10 @@ example/
3384
3392
<!-- YAML
3385
3393
added: v0.8 .6
3386
3394
changes:
3395
+ - version: REPLACEME
3396
+ pr- url: https: // github.com./nodejs/node/pull/37460
3397
+ description: The error returned may be an ` AggregateError` if more than one
3398
+ error is returned.
3387
3399
- version: v10.0 .0
3388
3400
pr- url: https: // github.com./nodejs/node/pull/12562
3389
3401
description: The ` callback` parameter is no longer optional . Not passing
@@ -3397,7 +3409,7 @@ changes:
3397
3409
* ` path` {string| Buffer| URL }
3398
3410
* ` len` {integer} ** Default: ** ` 0`
3399
3411
* ` callback` {Function }
3400
- * ` err` {Error }
3412
+ * ` err` {Error | AggregateError }
3401
3413
3402
3414
Truncates the file . No arguments other than a possible exception are
3403
3415
given to the completion callback . A file descriptor can also be passed as the
@@ -3837,6 +3849,10 @@ details.
3837
3849
<!-- YAML
3838
3850
added: v0.1.29
3839
3851
changes:
3852
+ - version: REPLACEME
3853
+ pr-url: https://github.com./nodejs/node/pull/37460
3854
+ description: The error returned may be an ` AggregateError ` if more than one
3855
+ error is returned.
3840
3856
- version: v15.2.0
3841
3857
pr-url: https://github.com./nodejs/node/pull/35993
3842
3858
description: The options argument may include an AbortSignal to abort an
@@ -3877,7 +3893,7 @@ changes:
3877
3893
* ` flag` {string} See [support of file system ` flags` ][]. **Default:** ` ' w' ` .
3878
3894
* ` signal` {AbortSignal} allows aborting an in-progress writeFile
3879
3895
* ` callback` {Function}
3880
- * ` err` {Error}
3896
+ * ` err` {Error|AggregateError }
3881
3897
3882
3898
When ` file` is a filename, asynchronously writes data to the file, replacing the
3883
3899
file if it already exists. ` data` can be a string or a buffer.
0 commit comments