onError

val onError: (message: String) -> Unit?