Better error handling for compile errors.