cpdf-source/cpdferror.ml

7 lines
156 B
OCaml
Raw Normal View History

2024-06-05 16:26:12 +02:00
(** Two exceptions recommended for use with the library. *)
2021-10-02 13:22:59 +02:00
exception SoftError of string
exception HardError of string
let error s = raise (SoftError s)