I think the worst I've ever done is miscalculate my money totals, sell a piece of equipment (say, a weapon that my character is using) in order to buy a new one, and still come up short.