refactor(api): add back code to handle server errors
refactor(api): add back code to handle server errors

opentripplanner/otp-react-redux,opentripplanner/otp-react-redux,opentripplanner/otp-react-redux,opentripplanner/otp-react-redux