error (worker)
Collapse the table of content
Expand the table of content

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:
© 2017 Microsoft