pgx

Pure-OCaml PostgreSQL client library
IN THIS PACKAGE
Module Pgx . Error_response
type t = {
code : string;
severity : string;
message : string;
custom : (char * string) list;
}
include Sexplib0.Sexpable.S with type t := t
val t_of_sexp : Sexplib0.Sexp.t -> t
val sexp_of_t : t -> Sexplib0.Sexp.t
val should_print : t -> verbose:int -> bool
val to_string : ?verbose:bool -> t -> string