Up

Module Exit_or_signal_or_stop

Signature

type error = [
| `Stop of Core.Signal.t
]
val error_of_sexp : Sexplib.Sexp.t -> error
val __error_of_sexp__ : Sexplib.Sexp.t -> error
val sexp_of_error : error -> Sexplib.Sexp.t
val t_of_sexp : Sexplib.Sexp.t -> t
val sexp_of_t : t -> Sexplib.Sexp.t
val of_unix : Unix.process_status -> t

of_unix assumes that any signal numbers in the incoming value are O'Caml internal signal numbers.

val to_string_hum : t -> string
val or_error : t -> unit Core_kernel.Std.Or_error.t