onerror property
Returns an error if a worker throws an unhandled exception.
This property is read/write.
Syntax
| JavaScript |
|---|
object.onerror = ptr ptr = object.onerror |
Property values
Type: Function
Error value
Remarks
Returns an error object with property values of filename, lineno, and message.
See also
Send comments about this topic to Microsoft
Build date: 11/20/2012