aboutsummaryrefslogtreecommitdiff
path: root/proofs
diff options
context:
space:
mode:
authorHugo Herbelin2020-03-02 12:00:41 +0100
committerHugo Herbelin2020-03-13 07:37:25 +0100
commitee2c5352d95adee5a31689c79785547c0dbaa749 (patch)
tree53a749eb574f1d62f6332401f4a15c5760dcb318 /proofs
parent89a5abb0b8b453bdda8c9ebf33734c42c3a826db (diff)
Deprecation of catchable_exception, to be replaced by noncritical in try-with.
Diffstat (limited to 'proofs')
-rw-r--r--proofs/logic.mli1
1 files changed, 1 insertions, 0 deletions
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 *)