onerror

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

Since Kotlin

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

Since Kotlin

1.8