Ponerror
Bun

property

EventSource.onerror

onerror: null | (this: EventSource, ev: Event) => any