onError

abstract fun onError(event: ErrorEvent)

Called when an error occurs.

Parameters

event

Payload of the event.