Navigator.setErrorProvider

A blank page is displayed when navigating to an URL which isn’t mapped to a view. I don’t know if it’s a bug or if I’m doing something wrong 'cause I can’t get my error view to show up. The error provider seems to swallow the IllegalStateException thrown by the navigator though so it seems like it’s there but without revealing itself. Do you guys at Vaadin have some error provider example?