https://issues.dlang.org/show_bug.cgi?id=16121
Issue ID: 16121 Summary: the canonical way to create and use an exception type is not documented on dlang.org Product: D Version: D2 Hardware: All URL: http://dlang.org/ OS: All Status: NEW Severity: enhancement Priority: P3 Component: dlang.org Assignee: nob...@puremagic.com Reporter: poliklosio.dl...@gmail.com As a new D user I need basic information, for example if an exception should be a class or struct, what class it should inherit from, and what is a good or typical way to pass exception message in D. An example that I can easily spot and analyze would be by far the best way to provide this. I've been searching for this but could not find such example. When I search for "dlang exception handling", the first page that google redirects me to is: https://dlang.org/spec/errors.html It doesn't contain the needed info. Then I tried to navigate manually to a page that should contain the information. I landed on: https://dlang.org/exception-safe.html No luck there either. --