Extracted from Pike v7.6 release 61 at 2005-12-30.
pike.ida.liu.se
[Top]
MasterObject

Method MasterObject()->describe_backtrace()


Method describe_backtrace

string describe_backtrace(mixed exception)

Description

Called by various routines to format a readable description of an exception.

Parameter exception

Something that was thrown. Usually an Error.Generic object, or an array with the following content:

Array
string msg

Error message.

array(backtrace_frame|array(mixed)) backtrace

Backtrace to the point where the exception occurred.


Returns

Returns a string describing the exeception.

Note

Usually added by the initialization code the global name space with add_constant() .

See also

describe_backtrace()