package irmin-server

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

inline

type t = [
  1. | `Msg of string
]
type 'a result = ('a, [ `Msg of string ]) Stdlib.Result.t
exception Error of string
val raise_error : string -> 'a
val unwrap : string -> 'a result -> 'a

Raise an exception if the result is Error

val of_string : string -> t
val to_string : t -> string
OCaml

Innovation. Community. Security.