Nicer error handling for user generated errors