jsdIErrorHook

IID:b7dd3c1c-1dd1-11b2-83eb-8a857d199e0f
Inherits From:nsISupports

Constants

Report is an error.
PRUint32 REPORT_ERROR = 0
Report is only a warning.
PRUint32 REPORT_WARNING = 1
Report represents an uncaught exception.
PRUint32 REPORT_EXCEPTION = 2
Report is due to strict mode.
PRUint32 REPORT_STRICT = 4

Methods

PRBool onError ( char* message , char* fileName , PRUint32 line , PRUint32 pos , PRUint32 flags , PRUint32 errnum , jsdIValue* exc )

PRBool onError ( char* message , char* fileName , PRUint32 line , PRUint32 pos , PRUint32 flags , PRUint32 errnum , jsdIValue* exc )

Called when the JavaScript engine encounters an error. Return true to pass the error along, false to invoke the debugHook.

Arguments:
message
fileName
line
pos
flags
errnum
exc

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com