ResultPropagateShortcut<T, E> extension
Provides the ~
shortcut for functions that return Result to allow propagating
unwrapped Err values up the call stack.
- on
-
- Result<
T, E> Function()
- Result<
Operators
-
operator ~(
) → dynamic - Executes the prefixed function, propagating any unwrapped Err() values to the return value of the function.