You would know the feeling, when you are annoyed, disappointed or failed. Well, we can name that feeling chagrin. It is a noun.
Origin: Its fist usage dates back to 1650-60 and comes from a French word Chagrin, which means to be sad.
1) Feeling of irritation when one is annoyed/ disappointed or has just failed.
2) To be irritated or annoyed at something because of disappointment.