Added support for custom error codes
Updated readme
Add the errorCode to the prototype
Merge pull request #1 from laynemoseley/master

Add support for error codes