Ponerror
Bun

property

Worker.onerror

onerror: null | (this: AbstractWorker, ev: ErrorEvent) => any