In my console application I want to print error messages in full graph-depth only in case of an error.
I'm validating graph-like (Json) data by recursively iterating through all nodes. If an error message shall be printed for one leaf node, I want to (lazy) output the names of all parent nodes once in front of this first leaf error message.
Aucun commentaire:
Enregistrer un commentaire