ErrorBoundary

ErrorBoundary handles all errors returned by methods of the Controller API. Use this to catch known errors and return http.HandlerFuncs to handle them. Typically, this is used to redirect the user to an error page or display a message. If a handler is not returned to redirect the request, the error is then passed to the PanicBoundary.