Then the point with a special syntax is largely lost. I think what Per commented on was my concern over providing a break-and-rethrow syntax to be used in the middle of the onerror clause, in addition to the break-and-don't-rethrow statement. He's right that throw(err) serves well for that, so there's no need for a special break-and-rethrow. Still, the default for all errors that aren't explicitly flagged as handled should be to rethrow.
/ Martin Stjernholm, Roxen IS
Previous text:
2003-10-02 17:10: Subject: Re: throw or return
I am bound to agree. It doesn't add much effort to do:
{ default: throw(e); }
at the end.
/ David Hedbor