2 releases

0.1.4 Jun 12, 2022
0.1.3 Jun 12, 2022

#536 in Development tools

Download history 453/week @ 2023-01-22 475/week @ 2023-01-29 590/week @ 2023-02-05 133/week @ 2023-02-12 1005/week @ 2023-02-19 325/week @ 2023-02-26 221/week @ 2023-03-05 1329/week @ 2023-03-12 1976/week @ 2023-03-19 577/week @ 2023-03-26 150/week @ 2023-04-02 164/week @ 2023-04-09 1759/week @ 2023-04-16 840/week @ 2023-04-23 780/week @ 2023-04-30 101/week @ 2023-05-07

3,498 downloads per month
Used in 6 crates (2 directly)

MIT license

800KB
21K SLoC

Module :: werror

experimental rust-status docs.rs discord

Basic exceptions handling mechanism.

Sample

#[ cfg( feature = "use_std" ) ]
{
  use error_tools::*;

  let err1 = BasicError::new( "Some error" );
  println!( "err1 : {}", err1 );
  // < err1 : Some error
}

To add to your project

cargo add werror

Try out from the repository

git clone https://github.com/Wandalen/wTools
cd wTools
cd sample/rust/error_tools_trivial
cargo run

Dependencies