A corollary is when it feels like you've just wasted a bunch of time, when in fact you got a lot of work done. A common example of this is when you spend 18 hours trying a dozen solutions to a very hard problem, with none of them working. At the end of it all you tend to feel like a failure because nothing worked, but in reality you went through the very necessary process of narrowing your solution space and learning about the problem.
I guess in general our emotion mechanisms misfire a lot.