JuliaLang/julia — pull request #4794 by davidssmith (2013-11-13 07:15:00+00:00)
Title: RFC: Improved error messages

I took a crack at improving more error messages. I also tweaked the formatting of them a bit. Now only the error message and the affected functions are red. Everything else is the normal color. This helps the important information stand out.

Still outstanding is the exception handling. Right now, exception messages are not being handled consistently, and it would take more extensive changes to make that happen, so I didn't touch them.

This patch compiles and passes all tests on my Macbook.

Let me know if this is the right direction.