More exception classes into Phobos?

Ola Fosheim Grøstad via Digitalmars-d digitalmars-d at puremagic.com
Thu Mar 23 14:31:28 PDT 2017


On Thursday, 23 March 2017 at 16:44:51 UTC, Jonathan M Davis 
wrote:
> I honestly think that trying to standardize exceptions is a bad 
> idea. They _should_ be specific to specific libraries or 
> applications, otherwise they're not much different from just 
> throwing Exception.

With a single hierarchy it becomes difficult, but with a multiple 
inheritance design it makes sense to have some standards. For 
instance whether the exceptional situation is permanent or 
warrants a retry.




More information about the Digitalmars-d mailing list