Making error code and message configurable
Added unit tests and upped the version
Merge pull request #4 from sylvio/master

Making error code and message configurable