ex 0.1.3

A libstd wrapper with more detailed errors
Documentation
  • Coverage
  • 1.69%
    1 out of 59 items documented0 out of 51 items with examples
  • Size
  • Source code size: 26.64 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 6.29 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 10s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Ereski
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.