cpdf-source/cpdferror.ml
2024-06-05 15:26:12 +01:00

7 lines
156 B
OCaml

(** Two exceptions recommended for use with the library. *)
exception SoftError of string
exception HardError of string
let error s = raise (SoftError s)