Add routes for errors