PanicBoundary

PanicBoundary is a panic recovery handler. It catches all panics thrown while handling a request, as well as any unhandled errors from the ErrorBoundary. Use this to catch unknown errors and return http.HandlerFuncs to handle them. If a handler is not returned to redirect the request, a stack trace is printed to the server logs.