The Right Approach to Exceptions

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sun Feb 19 06:31:04 PST 2012


On 2/19/12 6:27 AM, Juan Manuel Cabo wrote:
> How about adding a string[string] or a variant[string] to the Exception
> class, so one can know details about the subclassed exception without
> downcasting?

That is a must for custom formatting and i18n.

Andrei




More information about the Digitalmars-d mailing list