addOnError

fun addOnError(handler: (String) -> Unit)(source)

This event is sent when an error occurs within the SDK.