Module IBase__Die
exceptionInferExternalError of stringexceptionInferInternalError of stringexceptionInferUserError of stringexceptionInferExit of intThis can be used to avoid scattering exit invocations all over the codebase
type error=|ExternalError|InternalError|UserErrorkind of error for
die, with similar semantics asLogging.{external,internal,user}_error
val exit : int -> 'aval exit_code_of_exception : IStdlib.IStd.Exn.t -> intval set_log_uncaught_exception_callback : (exn -> exitcode:int -> unit) -> unitval log_uncaught_exception : exn -> exitcode:int -> unitval die : error -> ('a, Stdlib.Format.formatter, unit, _) IStdlib.IStd.format4 -> 'aRaise the corresponding exception.
val raise_error : ?backtrace:IStdlib.IStd.Caml.Printexc.raw_backtrace -> error -> msg:string -> 'a
val term_styles_of_style : style -> IStdlib.IStd.ANSITerminal.style list