proximity-sdk / com.estimote.proximity_sdk.api / ProximityObserverBuilder / onError

onError

fun onError(onErrorAction: (Throwable) -> Unit): ProximityObserverBuilder

Specifies an action to be called whenever any error occurs. If not specified, all errors will be delivered through Log.e(...) by default.