From ec9080f34c936d9af56cca68de664954053bf423 Mon Sep 17 00:00:00 2001 From: "Yingbo (Max) Wang" Date: Tue, 7 May 2019 18:58:58 -0700 Subject: Add Deno.chown (#2292) --- cli/errors.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'cli/errors.rs') diff --git a/cli/errors.rs b/cli/errors.rs index 424091584..71c14282b 100644 --- a/cli/errors.rs +++ b/cli/errors.rs @@ -186,6 +186,12 @@ impl From for DenoError { Errno::EINVAL.desc().to_owned(), ), }, + UnixError::Sys(Errno::ENOENT) => Self { + repr: Repr::Simple( + ErrorKind::NotFound, + Errno::ENOENT.desc().to_owned(), + ), + }, UnixError::Sys(err) => Self { repr: Repr::Simple(ErrorKind::UnixError, err.desc().to_owned()), }, -- cgit v1.2.3