Use proper error testing throughout the project.