propagate custom exceptions thrown in views
leave out id for notification responses
add tests for view functions with no params and functions raising custom exceptions