like this thought
So I have stolen this from a post on the hot pepper forum, nice folks helped me through a hot situation.
You can also think of it like Edison.. You aren't failing, you're simply discovering ways to NOT do something. If you don't learn from your 'mistakes', then yes you have failed. As long as you have learned from it, it's not a failure.
Made me feel better so I thought I would share :)