2 releases
0.1.4 | Jun 12, 2022 |
---|---|
0.1.3 | Jun 12, 2022 |
#536 in Development tools
3,498 downloads per month
Used in 6 crates
(2 directly)
800KB
21K
SLoC
Module :: werror
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