aboutsummaryrefslogtreecommitdiffhomepage
path: root/toplevel/cerrors.mli
diff options
context:
space:
mode:
Diffstat (limited to 'toplevel/cerrors.mli')
-rw-r--r--toplevel/cerrors.mli6
1 files changed, 5 insertions, 1 deletions
diff --git a/toplevel/cerrors.mli b/toplevel/cerrors.mli
index 8dc7e7a79..0dae61f4a 100644
--- a/toplevel/cerrors.mli
+++ b/toplevel/cerrors.mli
@@ -15,10 +15,14 @@ val print_loc : loc -> std_ppcmds
val explain_exn : exn -> std_ppcmds
-(** Same, but will re-raise all anomalies instead of explaining them *)
+(** Precompute errors raised during vernac interpretation *)
val explain_exn_no_anomaly : exn -> std_ppcmds
+(** Pre-explain a vernac interpretation error *)
+
+val process_vernac_interp_error : exn -> exn
+
(** For debugging purpose (?), the explain function can be twicked *)
val explain_exn_function : (exn -> std_ppcmds) ref