If you try to access a non existant route a simple 404 page will be shown.
If you try to access an existing route with a wrong id a "wrong-id" message will be shown:
created an additional component for this matter
e.g. *ngIf="artist" was considered to conditionally display the error message, but since an entity has to load, the error message was visible for a split second. To prevent this extra variables like idDoesNotExist were added .
Since elastic search is not returning 404 for wrong/non existant ids (it returns null) error handling couldn't be used. Entities inside there component are checked for null instead. Only exception is iconography-component since it uses the iconclass rest api
66 Error messages
If you try to access a non existant route a simple 404 page will be shown.
If you try to access an existing route with a wrong id a "wrong-id" message will be shown: