template orPrintTb(retRes): bool {.dirty.}
template orPrintTb(retRes: PyBaseErrorObject): bool {.dirty.}