Comparing Exceptions and Errors

Steven Schveighoffer schveiguy at gmail.com
Sun Jun 5 01:54:35 UTC 2022


On 6/4/22 9:43 PM, Steven Schveighoffer wrote:
> But I think you are still not supposed to continue execution. I'm not 
> sure what a compiler might assume at this point, and I unfortunately 
> can't find in the language specification where it states this. It might 
> not be in there at all, the spec is sometimes lacking compared to the 
> implementation.

BTW, I think this is the main reason why it keeps coming up for D 
learners, and why I wrote the article in the first place. It would be 
good (if it's not already in the spec) to have something mentioned about 
the pitfalls of catching Errors.

-Steve


More information about the Digitalmars-d-learn mailing list