An embedded, single-file key-value store for OCaml, inspired by BoltDB and LMDB.
1(** Error types for Lithos database operations *)
2
3type t =
4 | IO_error of string
5 | Invalid_database of string
6 | Database_locked
7 | Not_found
8
9(** Convert error to human-readable string *)
10val to_string : t -> string
11
12(** Create an I/O error from a Unix error *)
13val of_unix_error : Unix.error -> string -> t