A unique error code would accomplish the same thing, but I get your point.
This happens to me all the time with the software project I work on, which is enormous and has been around for a long, long time: the error messages usually aren't very useful. Neither is the log. In fact, the log is often little more than all the debug messages created during development.