ExitOnError with nice error message