Get proper culprit for an error.