diff --git a/src/libcore/rt/uv/mod.rs b/src/libcore/rt/uv/mod.rs index db0b570adc049..1c9fc3203a503 100644 --- a/src/libcore/rt/uv/mod.rs +++ b/src/libcore/rt/uv/mod.rs @@ -262,8 +262,9 @@ pub fn uv_error_to_io_error(uverr: UvError) -> IoError { EACCES => PermissionDenied, ECONNREFUSED => ConnectionRefused, ECONNRESET => ConnectionReset, - e => { - abort!("unknown uv error code: %u", e as uint); + _ => { + // XXX: Need to map remaining uv error types + OtherIoError } };