pub fn maybe_err<T: Strategy, E: Strategy>(t: T, e: E) -> MaybeErr<T, E>
Create a strategy for
Ok values are taken from
Err values are taken from
Err are chosen with equal probability.
Generated values shrink to