(** Error pages. These are deliberately self-contained rather than going through {!Layout}: an error may be raised before a repository context exists, so the page can depend on nothing but the status and message. *) val render : ?title:string -> ?status:[< Dream.status > `Internal_Server_Error ] -> string -> Dream.response Dream.promise (** Render an error page and respond with the given HTTP status. @param title the heading shown on the page (default ["Request failed"]). @param status the HTTP status code (default [`Internal_Server_Error]). *)