onerror

open override var onerror: (Event) -> dynamic?(source)

Since Kotlin

1.1
open override var onerror: (Event) -> Unit?(source)

Since Kotlin

1.8