turmoil/error.rs
1/// A specialized [`Result`] type for turmoil simulations.
2///
3/// This type is generally useful for fallible test cases, i.e. where you want
4/// to use the `?` operator to fail the test rather than writing unwrap
5/// everywhere.
6///
7/// [`Result`]: std::result::Result
8pub type Result<T = ()> = std::result::Result<T, Box<dyn std::error::Error>>;