cpdf-source/cpdferror.ml

10 lines
253 B
OCaml
Raw Normal View History

2021-10-02 13:22:59 +02:00
(** Two exceptions recommended for use with the library, though currently not
raised by any function in this module. Cpdfcommand uses them extensively. *)
exception SoftError of string
exception HardError of string
let error s = raise (SoftError s)