PipelineVisitor is a fine approach. However, if you want to see just the errors, then leveraging FlowGraphTable
might be even better.
The following provides a list of maps for each failed steps, and traverses the downstream jobs as well. I find it to be pretty useful.
You'll want to use a shared library to avoid the security sandbox warnings / approvals
List