Query: error_handler
OS: linux
Section: 3erl
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
error_handler(3erl) Erlang Module Definition error_handler(3erl)NAMEerror_handler - Default System Error HandlerDESCRIPTIONThe error handler module defines what happens when certain types of errors occur.EXPORTSundefined_function(Module, Function, Args) -> term() Types Module = Function = atom() Args = [term()] A (possibly empty) list of arguments Arg1,..,ArgN This function is evaluated if a call is made to Module:Function(Arg1,.., ArgN) and Module:Function/N is undefined. Note that unde- fined_function/3 is evaluated inside the process making the original call. If Module is interpreted, the interpreter is invoked and the return value of the interpreted Function(Arg1,.., ArgN) call is returned. Otherwise, it returns, if possible, the value of apply(Module, Function, Args) after an attempt has been made to autoload Module . If this is not possible, the call to Module:Function(Arg1,.., ArgN) fails with exit reason undef . undefined_lambda(Module, Fun, Args) -> term() Types Module = Function = atom() Args = [term()] A (possibly empty) list of arguments Arg1,..,ArgN This function is evaluated if a call is made to Fun(Arg1,.., ArgN) when the module defining the fun is not loaded. The function is evaluated inside the process making the original call. If Module is interpreted, the interpreter is invoked and the return value of the interpreted Fun(Arg1,.., ArgN) call is returned. Otherwise, it returns, if possible, the value of apply(Fun, Args) after an attempt has been made to autoload Module . If this is not possible, the call fails with exit reason undef .NOTESThe code in error_handler is complex and should not be changed without fully understanding the interaction between the error handler, the init process of the code server, and the I/O mechanism of the code. Changes in the code which may seem small can cause a deadlock as unforeseen consequences may occur. The use of input is dangerous in this type of code. Ericsson AB kernel 2.14.3 error_handler(3erl)
Related Man Pages |
---|
ct_rpc(3erl) - linux |
epp(3erl) - linux |
eprof(3erl) - linux |
erl_eval(3erl) - linux |
snmpa_error_logger(3erl) - linux |
Similar Topics in the Unix Linux Community |
---|
Fun with FreeBSD |
Fun with Gollum |
Simple Fun about world i |
Fun to learn English for free |
Following Cables for Fun! |