Why exceptions for error handling is so important

Martin Nowak via Digitalmars-d digitalmars-d at puremagic.com
Mon Jan 12 17:42:38 PST 2015


On Monday, 12 January 2015 at 22:54:08 UTC, Dicebot wrote:
> Which is equivalent to "don't use exceptions on servers" :) 
> Yes, I know, this is why any alternative approach is worth 
> interest.

I think error handling chains like Maybe!(Result) or 
Either!(Error, Result) could be nicely implemented in a library. 
I thought about using something like that for error handling in 
the dub-registey.


More information about the Digitalmars-d mailing list