Latex is my personal example of bad compiler messages, as well. The other day I added a duplicate bibtex entry and/or added two keys for the same entry. The error messages are a dump of the entire bibliography rather than a simple line number.
In my LaTeX book, I have an appendix dedicated to offering up explanations of what’s really wrong for every error message. It’s kind of fun doing everything wrong n LaTeX to get at all these.