handle superagent errors, expose api error messages