deno.com

property Worker.onerror

Event handler for error events. Fired when an error occurs in the worker's execution context.

Type #

(
this: Worker,
) => any | null