What are the types of pain? Indecision/confusion, regret, fear, sadness from loss (loss of an intact qualitative gestalt, which is to say the evolution of a human situation you thought was eternal), acute physical pain/discomfort, illness. The fear of death can be called a pain, but I don’t know that death itself qualifies.
With respect to sadness, it seems to me we sometimes create images of how the world is, and feel sadness when we realize they are wrong. This is processed as a loss, even though nothing objective has changed about the world, or us. We might think someone loves us, but they don’t. We might think all people are fair and just, and realize they aren’t. The Buddhists have likely done this analysis, and it would be interesting to find it.