summaryrefslogtreecommitdiff
path: root/ext/node/ops/winerror.rs
diff options
context:
space:
mode:
authorNathan Whitaker <17734409+nathanwhit@users.noreply.github.com>2024-10-18 10:11:06 -0700
committerGitHub <noreply@github.com>2024-10-18 10:11:06 -0700
commit1bccf45ecb8b5ce2aa685d650c6654bf6c25e605 (patch)
treeddf3cf459f2185da65cd4f46aeb524b7b7b5d574 /ext/node/ops/winerror.rs
parent85a99eb405ef3ec5f8e478d93b2c866afbc53f95 (diff)
fix(ext/node): properly map reparse point error in readlink (#26375)
Diffstat (limited to 'ext/node/ops/winerror.rs')
-rw-r--r--ext/node/ops/winerror.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/node/ops/winerror.rs b/ext/node/ops/winerror.rs
index c0d66f7d0..e9dbadb6f 100644
--- a/ext/node/ops/winerror.rs
+++ b/ext/node/ops/winerror.rs
@@ -66,6 +66,7 @@ pub fn op_node_sys_to_uv_error(err: i32) -> String {
ERROR_INVALID_PARAMETER => "EINVAL",
WSAEINVAL => "EINVAL",
WSAEPFNOSUPPORT => "EINVAL",
+ ERROR_NOT_A_REPARSE_POINT => "EINVAL",
ERROR_BEGINNING_OF_MEDIA => "EIO",
ERROR_BUS_RESET => "EIO",
ERROR_CRC => "EIO",