From ee2c5352d95adee5a31689c79785547c0dbaa749 Mon Sep 17 00:00:00 2001 From: Hugo Herbelin Date: Mon, 2 Mar 2020 12:00:41 +0100 Subject: Deprecation of catchable_exception, to be replaced by noncritical in try-with. --- proofs/logic.mli | 1 + 1 file changed, 1 insertion(+) (limited to 'proofs') diff --git a/proofs/logic.mli b/proofs/logic.mli index 1046fd8b29..525c303d5b 100644 --- a/proofs/logic.mli +++ b/proofs/logic.mli @@ -50,6 +50,7 @@ exception RefinerError of Environ.env * evar_map * refiner_error val error_no_such_hypothesis : Environ.env -> evar_map -> Id.t -> 'a val catchable_exception : exn -> bool +[@@ocaml.deprecated "This function does not scale in the presence of dynamically added exceptions. Use instead CErrors.noncritical, or the exact name of the exception that matters in the corresponding case."] (** Move destination for hypothesis *) -- cgit v1.2.3