Exit early on error.