library / com.chuckerteam.chucker.api / ChuckerCollector / onError

onError

fun onError(tag: String, throwable: Throwable): Unit

Call this method when a throwable is triggered and you want to record it.

Parameters

tag - A tag you choose

throwable - The triggered Throwable