dogecoind error code is now passed as `code` property on error object.
Fixed typo
Merge pull request #2 from brotchie/master

Added dogecoind error code as a property on the Error instance when an error occurs