fun onError(tag: String, throwable: Throwable): Unit
Call this method when a throwable is triggered and you want to record it.
tag - A tag you choose
tag
throwable - The triggered Throwable
throwable