thiserror-ext
Useful extension utilities for thiserror
. See the documentation for more details.
// `thiserror_ext::Construct`
let error: Error = internal;
// `thiserror_ext::Box`
assert_eq!;
let bt: &Backtrace = request_ref.unwrap;
// `thiserror_ext::ContextInto`
let result: = "foo".parse.into_parse;
// `thiserror_ext::AsReport`
//
// "cannot parse int from `foo`: invalid digit found in string"
println!;
// `thiserror_ext::Macro`
bail_not_implemented!;