Change API, the first argument is error, the second one is data
Update readme and example
Merge pull request #10 from sanemat/feature/error-response

Change API, the first argument is error, the second one is data