Converts a function that returns a Result into an assert-style variant that exits the process when the Result is Err. This is useful for building CLI commands that should stop execution on failure but remain composable when a Result is preferred.
Converts a function that returns a Result into an assert-style variant that exits the process when the Result is Err. This is useful for building CLI commands that should stop execution on failure but remain composable when a Result is preferred.