diff options
Diffstat (limited to 'cli/errors.rs')
-rw-r--r-- | cli/errors.rs | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/cli/errors.rs b/cli/errors.rs index 67eb54ea7..eb0fc7d27 100644 --- a/cli/errors.rs +++ b/cli/errors.rs @@ -243,20 +243,6 @@ pub fn no_buffer_specified() -> DenoError { new(ErrorKind::InvalidInput, String::from("no buffer specified")) } -pub fn no_async_support() -> DenoError { - new( - ErrorKind::NoAsyncSupport, - String::from("op doesn't support async calls"), - ) -} - -pub fn no_sync_support() -> DenoError { - new( - ErrorKind::NoSyncSupport, - String::from("op doesn't support sync calls"), - ) -} - #[derive(Debug)] pub enum RustOrJsError { Rust(DenoError), |