diff options
Diffstat (limited to 'cli/errors.rs')
-rw-r--r-- | cli/errors.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cli/errors.rs b/cli/errors.rs index 65118d070..dd1b6e6a7 100644 --- a/cli/errors.rs +++ b/cli/errors.rs @@ -179,6 +179,10 @@ pub fn permission_denied() -> DenoError { ) } +pub fn op_not_implemented() -> DenoError { + new(ErrorKind::BadResource, String::from("op not implemented")) +} + #[derive(Debug)] pub enum RustOrJsError { Rust(DenoError), |