Module Irmin_server.Error

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