File: exception.mli

package info (click to toggle)
ocaml-obuild 0.2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,456 kB
  • sloc: ml: 14,491; sh: 211; ansic: 34; makefile: 11
file content (7 lines) | stat: -rw-r--r-- 342 bytes parent folder | download
1
2
3
4
5
6
7
(** Exception handling and error reporting *)

val show : exn -> unit
(** Handle and display exception with appropriate error message and exit code.
    Matches against known exceptions from various modules (Project, Dist,
    Configure, Build, etc.) and prints formatted error messages before
    exiting with module-specific exit codes. *)