onError

fun onError(callback: (message: String) -> Unit): SonixLessonSynthesizer.Builder

Set error callback.