Function Error.report
Create a comprehensive error report for logging.
-
Syntax
String Error.report(Function f , Error e , Number v )
This function will create an error report including information on
The error object
The client (window.navigator)
A stack trace (Safari not supported)
The event object if one exists.
-
Parameters
Function f- The function which raised the error
Error e- The error object which was thrown
Number v- The verbosity of the report - a number between 0 and 4. For details on what is reported see the related functions.
- Return value A full report of variables and functions relevant to the error.
-
Download
Source
Unless otherwise noted all code in the JSLab Standard Library is licensed as GPLv3. See http://www.gnu.org/licenses/gpl.html for the entire license.
This function has dependencies and will not work stand-alone. Use the download button above instead of copy/paste.
