Have you ever tried a recipe, be it from a book or from a friend, that just didn't come out how you expected?
My new fix for these edible disasters is to REBAKE them.
I recently had this experience with a cake recipe that just would NOT bake. It stayed liquid in the middle and crisp on the edges.
I took it out of the oven and stirred it in a bowl and added more flour. Then I decided to EXPERIMENT more and added both dark and white chocolate chips along with toffee bits.
Needless to say the cake, which I then turned into cupcakes, came out AMAZING.
So please, when baking, don't get discouraged. You can always try something new and you never know what will come out.