The Fourth Cardinal Sin

We are familiar with the three cardinal sins about which the Torah teaches that one must give up their life before transgressing. In the story with Yehuda and Tamar, there is a moment that seems to teach that there might be a fourth cardinal sin - embarrassing others publicly.