endWithError

Ends the progress tracker with the given error, bypassing any remaining steps. changes will emit the exception as an error.