This topic has not yet been rated - Rate this topic

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

WorkerGlobalScope
Worker

 

 

Send comments about this topic to Microsoft

Build date: 11/20/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.