I didn't say I wanted that syntax. It just looks very clumsy to look at the presence of constants in an object. E.g. it could be nice to categorize errors into system errors, c-level errors and pike errors, and then be able to catch only pike-level errors. One could have native-pike-module, application-specific-module and application as further clustering of the pike errors as well. To be able to use expressions like (e->level < APPLICATION_MODULE_LEVEL) would simplify things.
/ Martin Nilsson (saturator)
Previous text:
2003-10-01 20:47: Subject: Re: throw or return
Please don't use this syntax There is no gain at all when compared to the current system.
/ Per Hedbor ()