package guardian

  1. Overview
  2. Docs
exception Exception of string
type connection_type =
  1. | SinglePool of string
  2. | MultiPools of (string * string) list
val with_log : ?log_level:Logs.level -> ?msg_prefix:string -> [< Caqti_error.t ] -> string
val get_or_raise : ?log_level:Logs.level -> ?msg_prefix:string -> unit -> ('a, [< Caqti_error.t ]) result -> 'b
val map_or_raise : ?log_level:Logs.level -> ?msg_prefix:string -> ('a -> 'b) -> ('a, [< Caqti_error.t ]) CCResult.t -> 'c
module type ConfigSig = sig ... end
module Make (Config : ConfigSig) : sig ... end
module type Sig = sig ... end
OCaml

Innovation. Community. Security.