Module Naboris.ErrorHandler
Module with error handler types.
type t
= exn -> Route.t -> ((string * string) list * string) Lwt.t
Called when
Res.reportError
is called. Expects return values of anLwt.t
promise containing a tuple ofheaders
(list(string * string)
) andresponse_body
(string
).