On Wed, Aug 31, 2016 at 10:08:35PM +0100, Guillaume Munch wrote:

> Sounds good to me

> (and if there are caveats I am not aware of regarding
> exceptions in LyX, I would be curious to know)

I have occassionally seen comments that suggest exceptions should be
avoided, for example here [1].

> But if you end up using an
> error code instead of an exception, I may suggest that you use an enum
> instead of bool, so that it is self-documenting and extensible.

OK makes sense.

Scott

[1] 
https://www.mail-archive.com/search?l=mid&q=CAO7dr0i_%2BN44s-U2UgFAMioS8jMRwo1hB5xfHQWrVFftFZvT8A%40mail.gmail.com

Attachment: signature.asc
Description: PGP signature

Reply via email to