How to prevent financial meltdowns, according to the Library of Mistakes