A Survey of the Literature on Human Error