in reply to Exceptions vs Context Objects
Seems to me that the old stand-by of having the plugins/events call die, and having the dispatcher use eval when calling the event-handlers. Then you can catch the die's and react accordingly. And writers of these plugins can just use a familiar idiom to signal problems.
--rjray
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Exceptions vs Context Objects
by tirwhan (Abbot) on Mar 31, 2006 at 08:47 UTC | |
by rjray (Chaplain) on Mar 31, 2006 at 15:13 UTC |