JuliaLang/julia — pull request #6595 by nalimilan (2014-04-21 10:55:19+00:00)
Title: Add documentation about custom exceptions to the manual

I struggled to write a custom exception type, so I figured I would add a few words to the manual.

I can also add a recommendation that people create their own specific exceptions when applicable, instead of throwing too generic exceptions that cannot programmatically be catched. But I need you to confirm this is indeed the official recommendation. A word about when to add custom error messages and details could also be useful.