Replace magic error_route() numbers