throw real errors

closes #2