pub fn with_transaction_opaque_err<T, E, F>(f: F) -> Result<Result<T, E>, ()>
where F: FnOnce() -> TransactionOutcome<Result<T, E>>,
Expand description

Same as with_transaction but casts any internal error to ().

This rids E of the From<DispatchError> bound that is required by with_transaction.