3 unstable releases
0.2.1 | Dec 21, 2019 |
---|---|
0.2.0 | Dec 5, 2019 |
0.1.0 | Oct 14, 2019 |
#2682 in Rust patterns
23 downloads per month
8KB
128 lines
tiny_fail
Overview
tiny_fail
provides simple fail type Fail
, its wrapper Error
and error message helper trait FailExt
for Option
/Result
.
License
tiny_fail
is distributed under the terms of both the MIT license and the Apache License (Version 2.0).
See LICENSE-APACHE and LICENSE-MIT.
lib.rs
:
An error type library for applications.
This crate contains two primary items:
Fail
represents failures. This not implementsstd::error::Error
.Error
is a wrapper forFail
that implementsstd::error::Error
.
FailExt
is supprting trait. It helps to handling Result
and Option
.