summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2019-12-14 10:21:50 +0200
committerLars Wirzenius <liw@liw.fi>2019-12-14 10:21:50 +0200
commit692927d8c73b638c66a5e90a405f82a44ae6cd0a (patch)
tree098c43a5d2db894d9cdfeb1b52dd07cc2a7bc80e /src/lib.rs
parenta7e64cf502f2bf237310cff002ea0269afa91ae2 (diff)
downloadsubplot-692927d8c73b638c66a5e90a405f82a44ae6cd0a.tar.gz
Refactor: introduce a custom error type
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index a17eac9..2dfa78c 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -5,6 +5,10 @@
//! verified. This crate contains most of Subplot's core
//! functionality so it can be used as a library, making it easier to
//! build new tools.
+
+mod error;
+pub use error::Error;
+
mod process;
pub use process::dot_to_svg;