use a normal Ruby hash to store exceptions