Because the tenth time you write that code in a program, you get the naggin feeling that you're duplicating code...
/ Mirar
Previous text:
2003-12-08 11:32: Subject: call_callback
Unlike callouts a custom function can return values which need further processing. Some values may indicate error conditions, and it's also not necessarily so that exceptions should be logged using werror().
I can't see what's wrong in using
if (mixed err = catch { res = f(1, 2, 3, ...); }) werror(describe_backtrace(err));
directly? However, if you feel that qualifies as an addition in Function.pmod I won't stop you, but I won't use it either.
/ Jonas Walldén