Performs a side-effect with the contained error if this is an Err.
Result<T> ifErr(@noFuturesAllowed void Function(Err<T> err) noFuturesAllowed);