in packages/azure-kusto-data/src/response.ts [107:120]
private getErrorsByLevel(errorLevel: ErrorLevels) {
const result = [];
if (this.statusTable && this.statusTable._rows.length !== 0) {
const errorColumn = this.getErrorColumn();
const cridColumn = this.getCridColumn();
const statusColumn = this.getStatusColumn();
for (const row of this.statusTable.rows()) {
if (row[errorColumn] <= errorLevel) {
result.push(`Please provide the following data to Kusto: CRID=${row[cridColumn]} Description: ${row[statusColumn]}`);
}
}
}
return result;
}