onWriteError

fun onWriteError(error: Throwable)