WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.
jsdIErrorHook
| IID: | b7dd3c1c-1dd1-11b2-83eb-8a857d199e0f |
| Inherits From: | nsISupports |
Constants
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
References
This interface is the type of the following properties:
Reference documentation is generated from Mozilla's source.
