about summary refs log tree commit diff
path: root/src/librustuv/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/librustuv/lib.rs')
-rw-r--r--src/librustuv/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustuv/lib.rs b/src/librustuv/lib.rs
index 34d36b486b3..9f2b19ac5fd 100644
--- a/src/librustuv/lib.rs
+++ b/src/librustuv/lib.rs
@@ -337,6 +337,7 @@ pub fn uv_error_to_io_error(uverr: UvError) -> IoError {
             EACCES => PermissionDenied,
             ECONNREFUSED => ConnectionRefused,
             ECONNRESET => ConnectionReset,
+            ENOENT => FileNotFound,
             ENOTCONN => NotConnected,
             EPIPE => BrokenPipe,
             ECONNABORTED => ConnectionAborted,