error event

Returns an error if a worker throws an unhandled exception.

Syntax

Event handler parameters

handler [in]

Type: event handler

Function to handle event.

Remarks

Returns an error object with property values of filename, lineno, and message.

See also

Worker
WorkerGlobalScope

 

 

Show:
© 2014 Microsoft