bt_any_error 0.1.0

An easy-to-use, lightweight, zero-dependency generic Error that can be passed to another thread.
Documentation
  • Coverage
  • 66.67%
    4 out of 6 items documented0 out of 3 items with examples
  • Size
  • Source code size: 9.66 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 785.54 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 2s Average build duration of successful builds.
  • all releases: 2s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • bachuetech/bt_any_error
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • bachuetech

Project Title

BT Any Error

Description

An easy-to-use, lightweight, zero-dependency generic Error that can be passed to another thread.

Usage

use bt_any_error::any_error::{AnyErr, IntoAnyError};
    let legacy_result: Result<(), Box<dyn Error>> = Err(Box::new(LocalError(Rc::new("Danger!".to_string()))));
    let converted: Result<(), AnyErr> = legacy_result.any();

Version History

  • 0.1.0
    • Initial Release

License

GPL-3.0-only