Function frame_support::storage::transactional::with_transaction_opaque_err
source ยท pub fn with_transaction_opaque_err<T, E, F>(f: F) -> Result<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
.