package naboris

  1. Overview
  2. Docs

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 an Lwt.t promise containing a tuple of headers (list(string * string)) and response_body (string).

OCaml

Innovation. Community. Security.