1 unstable release

0.1.3 Apr 21, 2019
0.1.2 Jan 12, 2019
0.1.1 May 16, 2018
0.1.0 Apr 20, 2018

#9 in #convenience

Download history 593/week @ 2021-08-08 294/week @ 2021-08-15 349/week @ 2021-08-22 387/week @ 2021-08-29 314/week @ 2021-09-05 450/week @ 2021-09-12 410/week @ 2021-09-19 441/week @ 2021-09-26 292/week @ 2021-10-03 177/week @ 2021-10-10 233/week @ 2021-10-17 330/week @ 2021-10-24 200/week @ 2021-10-31 163/week @ 2021-11-07 198/week @ 2021-11-14 172/week @ 2021-11-21

363 downloads per month
Used in 2 crates

BSD-3-Clause

22KB
590 lines

Crate Documentation Linux/OS X Windows
Crate Documentation Build Status Build Status

A libstd wrapper with more detailed errors. This crate mirrors the std module tree, replacing failable functions and structs with wrappers that add additional information to the errors returned. WIP, so not all of libstd may be covered.

To use ex, simply replace a use std::x with use ex::x for any x. Some structs are different from libstd's, so there might exist some friction with external crates. In that case, see the Wrapper trait on how to get the wrapped structs.

ex also uses custom error types to transport the augmented error messages. In all cases, you can use err.cause() to get a reference to the original error, or the Wrapper trait.

Dependencies

~45KB

黼\