diff options
| author | C. Morgan Hamill <me@cmhamill.org> | 2015-03-20 14:15:02 +0100 |
|---|---|---|
| committer | C. Morgan Hamill <me@cmhamill.org> | 2015-03-20 14:21:01 +0100 |
| commit | 107624c5bb11e6ab8c72d85392f9645efd7c6545 (patch) | |
| tree | 3a7bd7c512ee1debbe42618f3a9c74690231fe5c /src/lib.rs | |
| parent | d3f5ca027545db5c0e54ceb758bcd4e27e2ce003 (diff) | |
| download | mail-107624c5bb11e6ab8c72d85392f9645efd7c6545.tar.gz | |
Add error module with crate's `Error` type.
Implement `Display`, `Error`, and various `FromError<T>` 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.
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -6,3 +6,5 @@ mod macros; mod ffi; mod utils; + +pub mod error; |
