Can I cancel contract for frustration?

Can you cancel a contract under frustration if the fee cap that you set is far too low and you will make a substantial loss?