Ponerror
Bun

property

AbstractWorker.onerror

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