Well it's not just a string exception. I would also have to convert the numeric code into a string like "Z_DATA_ERROR". [Easy](https://github.com/joyent/node/blob/master/lib/zlib.js#L325) to do in JS, not so in C++.