add custom error code
insert error code
Merge pull request #7 from baasbox/master

pull repository from master