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