package dune

  1. Overview
  2. Docs
Fast, portable and opinionated build system

Install

Dune Dependency

Authors

Maintainers

Sources

dune-1.9.3.tbz
sha256=317bec6de4429b5dee157e9864294e1534b722a2acfc50480bd16c804ab790ca
sha512=17450333156622d4612816f9ad5a224c741d62b247d63c1d77b5359d37517c1f9bc598dd11fa024f4e02ccf7eef474cd532eef1d9c34ed13439db6c781f9fa7a

doc/dune._stdune/Stdune/Exn/index.html

Module Stdune.Exn

Exceptions

exception Code_error of Sexp.t

An programming error, that should be reported upstream. The error message should try to be developer friendly rather than user friendly.

exception Fatal_error of string

A fatal error, that should be reported to the user in a nice way

exception Loc_error of Stdune__.Loc0.t * string
val fatalf : ?loc:Stdune__.Loc0.t -> ('a, unit, string, string, string, 'b) format6 -> 'a
val code_error : string -> (string * Sexp.t) list -> _
type t = exn
val raise : exn -> _
val raise_notrace : exn -> _
val reraise : exn -> _
val protect : f:(unit -> 'a) -> finally:(unit -> unit) -> 'a
val protectx : 'a -> f:('a -> 'b) -> finally:('a -> unit) -> 'b
val pp_uncaught : backtrace:string -> Format.formatter -> t -> unit
val pp : Format.formatter -> t -> unit
val raise_with_backtrace : exn -> Printexc.raw_backtrace -> _
val equal : t -> t -> bool
val hash : t -> int
val to_dyn : t -> Stdune__.Dyn0.t
OCaml

Innovation. Community. Security.