Rule 523 dictates the debts you can't erase through bankruptcy (and the list might surprise you).
Getting the timing right can mean the difference between a successful bankruptcy and one that leaves debts behind.