View Source
Any uncaught exceptions thrown from a handler will be displayed in a bright red box inline in the corresponding HyperView
View Source
You can use the same mechanism to exit execution early and display an application error to handle edge cases
We know all these users exist when the view was rendered, so one going missing is unlikely
If a user were deleted between when they were rendered and loaded, the error would look like this:
View Source
Handle any expected errors in your view function, by making it accept a Maybe or Either
Search for a user by id
View Source
You can also exit execution early and display a custom view from application code or from caught execptions