Function Error.getEventInfo
Get information about the event object in an error
-
Syntax
String Error.getEventInfo(Event e , Number v )
This function will return detailed information about the event object and event target if one exist when the error is thrown. -
Parameters
Event e- The event object in an error (auto detected by Error.report).
Number v- The level of verbosity.
verbosity: 0 - Event class, type and target
verbosity: 1 - Event path
verbosity: 2 - Enumerate event object and event target
verbosity: 3 - Include functions in enumeration
verbosity: 4 - Include native functions in enumeration
- Return value Information about the evnet object.
-
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.
