onError

abstract fun onError(clazz: Class<out Any>, message: String, throwable: Throwable)