Handling error case of `$.parse()` within `route()`