diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2020-09-15 10:24:13 -0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2020-09-15 11:55:51 -0400 |
commit | 68099acbc6d816170ac60d33e4cd730d88dad5de (patch) | |
tree | c0f2eaa89d33f327e9d594d578426d2886a722bb /cli/errors.rs | |
parent | 28c9d90b4bbd8af50092cbf1c12a3e818e117fb0 (diff) |
Don't expose ErrWithV8Handle from deno_core
Diffstat (limited to 'cli/errors.rs')
-rw-r--r-- | cli/errors.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cli/errors.rs b/cli/errors.rs index 30cae156a..2587017bd 100644 --- a/cli/errors.rs +++ b/cli/errors.rs @@ -11,7 +11,6 @@ use crate::ast::DiagnosticBuffer; use crate::import_map::ImportMapError; -use deno_core::error::get_custom_error_class; use deno_core::error::AnyError; use deno_core::ModuleResolutionError; use rustyline::error::ReadlineError; @@ -171,7 +170,7 @@ fn get_nix_error_class(error: &nix::Error) -> &'static str { } pub(crate) fn get_error_class_name(e: &AnyError) -> &'static str { - get_custom_error_class(e) + deno_core::error::get_custom_error_class(e) .or_else(|| { e.downcast_ref::<dlopen::Error>() .map(get_dlopen_error_class) |