
error_handler(4)          Driver Applies         error_handler(4)

NNAAMMEE
       error_handler - function in master object to handle errors

SSYYNNOOPPSSIISS
       void error_handler( mapping error, int caught );

DDEESSCCRRIIPPTTIIOONN
       This function allows the mudlib to handle  errors  instead
       of the driver.  The contents of the 'error' mapping are:

           ([
               "error"   : string,     // the error
               "program" : string,     // the program
               "object"  : object,     // the current object
               "line"    : int,        // the line number
               "trace"   : *mapping    // a trace back
           ])

       Each line of traceback is a mapping containing the follow-
       ing:

           ([
               "function"  : string,   // the function name
               "program"   : string,   // the program
               "object"    : object,   // the object
               "line"      : int       // the line number
           ])
       The 'caught' flag  is  1  if  the  error  was  trapped  by
       catch().

SSEEEE AALLSSOO
       catch(3), error(3), throw(3), log_error(4)

AAUUTTHHOORR
       Beek

MudOS                      18 Sep 1994                          1

