doOnWarning

fun doOnWarning(block: (warning: String, msg: String?) -> Unit)