One of the more common security mistakes is exposing too much information to our users. In the beginning of ASP.NET we had the famous "yellow screen of death."
This screen was helpful to the developers trying to debug the program, it contained the error message, the stack