[#52148235]  Handles planned and unplanned errors from OpenTripPlanner.