Turn exceptions in to errors.