At times asking my child after story time, right before bed, "hey, remember today when x and y happened. Do you want to talk about it? Why did you get upset?"
I find kids will happily talk and give their side of the story. It's good then to explain what you think could be a better way to handle that situation in future. Often they'll agree and I'll even hear them later using the strategies to resolve playtime disputes with other kids.
If I raised my voice or was involved in the event being discussed, I will also share my side of the story and explain what I'll try to do to improve or help in future.
But hey, we're all humans, so it's messy.
I don't disagree, but I would argue it's unrealistic.
Being humble and acknowledging and explaining your mistakes is far more important than getting it right in first place.
Of course, a parent will often find that after they talked it out, they don't want to punish their kid anymore. (All the better.)