Module Stdune.Exn
Exceptions
exceptionCode_error of Sexp.tAn programming error, that should be reported upstream. The error message shouldn't try to be developer friendly rather than user friendly.
exceptionLoc_error of Stdune__.Loc0.t * string
val fatalf : ?loc:Stdune__.Loc0.t -> ('a, unit, string, string, string, 'b) Stdlib.format6 -> 'aval code_error : string -> (string * Sexp.t) list -> _
val protect : f:(unit -> 'a) -> finally:(unit -> unit) -> 'aval protectx : 'a -> f:('a -> 'b) -> finally:('a -> unit) -> 'bval pp_uncaught : backtrace:string -> Stdlib.Format.formatter -> t -> unitval raise_with_backtrace : exn -> Stdlib.Printexc.raw_backtrace -> _