I added new cases in the router to signal invalid configuration and lack of loaders / routes.