From 1721b243d5e3f5d08c1a702b1f554a81b1b12d68 Mon Sep 17 00:00:00 2001 From: rascul Date: Wed, 12 Sep 2018 22:44:00 -0500 Subject: [PATCH] make the error stuff public --- src/lib.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index a01bd96..5dc69a3 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -10,9 +10,10 @@ use log::{Log, LogLevel, LogLevelFilter, LogMetadata, LogRecord, set_logger}; #[cfg(test)] mod tests; -mod error; +pub mod error; -use error::RagResult; +pub use error::RagResult; +pub use error::RagError; struct Logger;