[fix] Handle Error instances in a sane way since their properties are non-enumerable __by default.__ Fixes #280.