List of exceptions?

DMon no at mail.com
Mon Oct 12 11:01:00 UTC 2020


On Monday, 12 October 2020 at 09:11:35 UTC, Dominikus Dittes 
Scherkl wrote:

>
> - ...not care about exceptions someone else defined...except 
> for printing out their message in main()...
> - ...not reuse exceptions defined by someone else. Define your 
> own.
> - ...only if you have a plan...
> - ...no plan, better throw error...where and why the program 
> crashed...
>
> Therefore a list of possible exceptions doesn't make any sense.

Thanks, Dominikus, those are great ideas.




More information about the Digitalmars-d-learn mailing list