package irmin-pack

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Parameters

module Io : Io.S

Signature

module Io = Io
type t = [
  1. | Errors.Base.t
  2. | `Io_misc of Io.misc_error
]
val pp : Format.formatter -> [< t ] -> unit
val raise_error : [< t ] -> 'a
val log_error : string -> [< t ] -> unit
val catch : (unit -> 'a) -> ('a, [> t ]) result
val raise_if_error : ('a, [< t ]) result -> 'a
val log_if_error : string -> (unit, [< t ]) result -> unit
val to_json_string : (Optint.Int63.t, [< t ]) result -> string
val of_json_string : string -> (Optint.Int63.t, [> t ]) result
OCaml

Innovation. Community. Security.