Type Alias zebra_test::transcript::ErrorChecker
source ยท pub type ErrorChecker = fn(_: Option<Box<dyn Error + Send + Sync + 'static>>) -> Result<(), Box<dyn Error + Send + Sync + 'static>>;
Expand description
An error-checking function: is the value an expected error?
If the checked error is the expected error, the function should return Ok(())
.
Otherwise, it should just return the checked error, wrapped inside Err
.