mirror of
https://github.com/denoland/deno.git
synced 2024-11-25 15:29:32 -05:00
fix(core): support classifying ENOTDIR (#14646)
This commit is contained in:
parent
68bf43fca7
commit
9766399a3f
1 changed files with 1 additions and 0 deletions
|
@ -94,6 +94,7 @@ fn get_os_error_code(errno: i32) -> &'static str {
|
|||
libc::ENOMEM => "ENOMEM",
|
||||
libc::ENOSPC => "ENOSPC",
|
||||
libc::ENOTCONN => "ENOTCONN",
|
||||
libc::ENOTDIR => "ENOTDIR",
|
||||
libc::ENOTEMPTY => "ENOTEMPTY",
|
||||
libc::ENOTSOCK => "ENOTSOCK",
|
||||
libc::ENOTSUP => "ENOTSUP",
|
||||
|
|
Loading…
Reference in a new issue