The current code uses flash messages on the app route when transitioning to an error state. If the explorer is opened fresh at a model which the API cannot find or at a route which is not listed then the user is presented with a blank page since no template is rendered. The explorer should use the 'error' substate and reject model promises so that 404, 500 tailored page can be displayed. Need a general route to handle 404 for missing routes.
The current code uses flash messages on the app route when transitioning to an error state. If the explorer is opened fresh at a model which the API cannot find or at a route which is not listed then the user is presented with a blank page since no template is rendered. The explorer should use the 'error' substate and reject model promises so that 404, 500 tailored page can be displayed. Need a general route to handle 404 for missing routes.