onerror
Summary
An event listener to be called when an error occurs.
Property of apis/workers/WorkerGlobalScopeapis/workers/WorkerGlobalScope
Syntax
Note: This property is read-only.
var result = object.onerror;
Notes
Returns an error object with property values of filename, lineno, and message.
Related specifications
- W3C Web Workers Specification
- W3C Editor’s Draft
Attributions
Microsoft Developer Network: Windows Internet Explorer API reference Article