pass all keys in error objects
foreach -> for; check property passing
Merge pull request #58 from uber/errorKeys

pass all keys in error objects