diff options
| author | andy finch <andyfinch7@gmail.com> | 2019-03-19 20:55:59 -0400 |
|---|---|---|
| committer | Ryan Dahl <ry@tinyclouds.org> | 2019-03-19 20:55:59 -0400 |
| commit | 48bf419669694802f82b418b901cb282957fb64f (patch) | |
| tree | 2304fb01719d3c18ca25aeb5456e9dea910db870 /cli/errors.rs | |
| parent | 6131152a575f86c7510702091ba18f061628674f (diff) | |
Separate behavior for the compiler isolate (#1973)
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), |
