a580e12000-09-27Fredrik Hübinette (Hubbe) #pike __REAL_VERSION__
a20af62000-09-26Fredrik Hübinette (Hubbe) 
9f6d0c1998-04-30Per Hedbor // Moahahahah!
99ab642001-03-23Martin Stjernholm // $Id: error.pmod,v 1.5 2001/03/23 18:36:27 mast Exp $
a89d211999-08-10Martin Stjernholm void `()(string f, mixed ... args)
9f6d0c1998-04-30Per Hedbor {
a89d211999-08-10Martin Stjernholm  array(array) b = backtrace();
99ab642001-03-23Martin Stjernholm  if (sizeof(args)) f = sprintf(f, @args); throw( ({ f, b[..sizeof(b)-2] }) );
9f6d0c1998-04-30Per Hedbor }