Skip to content
This repository has been archived by the owner on Aug 16, 2021. It is now read-only.

Commit

Permalink
Added a fallible alias. Fixes #95
Browse files Browse the repository at this point in the history
  • Loading branch information
mitsuhiko committed Jul 27, 2018
1 parent ffe81e7 commit 3633ac9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ with_std! {

pub use error::Error;

/// A common result with an `Error`.
pub type Fallible<T> = Result<T, Error>;

mod macros;
mod error_message;
pub use error_message::err_msg;
Expand Down

0 comments on commit 3633ac9

Please sign in to comment.