From 107624c5bb11e6ab8c72d85392f9645efd7c6545 Mon Sep 17 00:00:00 2001 From: "C. Morgan Hamill" Date: Fri, 20 Mar 2015 09:15:02 -0400 Subject: Add error module with crate's `Error` type. Implement `Display`, `Error`, and various `FromError` traits on `Error`, allowing the use of `try!` on the various `Result` types in the crate. Note that currently the only error variants are those thrown from a lower-level operation. --- src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index f490df7..f7358b7 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -6,3 +6,5 @@ mod macros; mod ffi; mod utils; + +pub mod error; -- cgit v1.2.1