More exception classes into Phobos?
Jacob Carlborg via Digitalmars-d
digitalmars-d at puremagic.com
Sat Mar 25 06:45:36 PDT 2017
On 2017-03-23 21:45, Adam D. Ruppe wrote:
> I'm of the firm belief that exceptions should NEVER have a string
> message - that's a code smell. If you do it right, all the info can be
> determined automatically by the exception type and passed arguments and
> *that* is what gets printed to string.
Exactly.
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list