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
2,678 downloads per month
1.5MB
42K
SLoC
Module :: werror
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