7 releases

0.1.3 Jun 12, 2022
0.1.2 May 25, 2022
0.1.0 Jan 10, 2022
0.0.2 Dec 22, 2021

#138 in Development tools

Download history 31/week @ 2022-11-28 44/week @ 2022-12-05 63/week @ 2022-12-12 560/week @ 2022-12-19 369/week @ 2022-12-26 31/week @ 2023-01-02 203/week @ 2023-01-09 690/week @ 2023-01-16 430/week @ 2023-01-23 448/week @ 2023-01-30 560/week @ 2023-02-06 133/week @ 2023-02-13 989/week @ 2023-02-20 361/week @ 2023-02-27 184/week @ 2023-03-06 1105/week @ 2023-03-13

2,678 downloads per month

MIT license

1.5MB
42K SLoC

Module :: werror

experimental rust-status docs.rs discord

Basic exceptions handling mechanism.

Sample

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

  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