emit real Error objects

This is helpful when using this lib with long-stack-traces and friends.