]> git.kaiwu.me - njs.git/commit
FS: added back custom exception types using new public API.
authorDmitry Volyntsev <xeioex@nginx.com>
Wed, 21 Jun 2023 23:29:45 +0000 (16:29 -0700)
committerDmitry Volyntsev <xeioex@nginx.com>
Wed, 21 Jun 2023 23:29:45 +0000 (16:29 -0700)
commit0340bdbcff791b1ecb82696357794fde8a8a67cd
tree86ac85a02623a0bad612168545d46e44ce34103b
parent1110af1ec715926d9dec100f87bf62e71ae42f71
FS: added back custom exception types using new public API.

In 18385a4a90ad, when rewriting FS module using public API all the
exceptions types were squashed into a single Error type. This patch
reintroduces the standard exception types back using new API.
external/njs_fs_module.c
src/test/njs_unit_test.c
test/fs/methods.t.js
test/fs/promises_07.t.js