summaryrefslogtreecommitdiff
path: root/core/lib.rs
diff options
context:
space:
mode:
authorBert Belder <bertbelder@gmail.com>2020-09-14 18:48:57 +0200
committerBert Belder <bertbelder@gmail.com>2020-09-15 01:50:52 +0200
commitf5b40c918c7d602827622d167728a3e7bae87d9d (patch)
treefb51722e043f4d6bce64a2c7e897cce4ead06c82 /core/lib.rs
parent3da20d19a14ab6838897d281f1b11e49d68bd1a7 (diff)
refactor: use the 'anyhow' crate instead of 'ErrBox' (#7476)
Diffstat (limited to 'core/lib.rs')
-rw-r--r--core/lib.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/core/lib.rs b/core/lib.rs
index bb54f5133..ba7fdcd21 100644
--- a/core/lib.rs
+++ b/core/lib.rs
@@ -9,7 +9,7 @@ extern crate lazy_static;
extern crate log;
mod bindings;
-mod errors;
+pub mod error;
mod flags;
mod gotham_state;
mod module_specifier;
@@ -24,9 +24,6 @@ mod zero_copy_buf;
pub use rusty_v8 as v8;
-pub use crate::errors::AnyError;
-pub use crate::errors::ErrBox;
-pub use crate::errors::JsError;
pub use crate::flags::v8_set_flags;
pub use crate::module_specifier::ModuleResolutionError;
pub use crate::module_specifier::ModuleSpecifier;