pub async fn error_pages(req: Request, next: Next) -> Response
Renders ErrorInfo responses as a full page, or as an inline fragment for htmx.
ErrorInfo