getErrors

fun <T> ResultWithDiagnostics<T>.getErrors(): String