@@ -277,21 +277,6 @@ let rocq_core n = Names.(KerName.make Tac2env.rocq_prefix (Id.of_string_soft n))
277277
278278let internal_err = rocq_core " Internal"
279279
280- let err_notfocussed =
281- LtacError (rocq_core " Not_focussed" , [||])
282-
283- let err_outofbounds =
284- LtacError (rocq_core " Out_of_bounds" , [||])
285-
286- let err_notfound =
287- LtacError (rocq_core " Not_found" , [||])
288-
289- let err_matchfailure =
290- LtacError (rocq_core " Match_failure" , [||])
291-
292- let err_division_by_zero =
293- LtacError (rocq_core " Division_by_zero" , [||])
294-
295280let of_exninfo = of_ext val_exninfo
296281let to_exninfo = to_ext val_exninfo
297282
@@ -514,3 +499,21 @@ let reference = {
514499 r_of = of_reference;
515500 r_to = to_reference;
516501}
502+
503+ let err_notfocussed =
504+ LtacError (rocq_core " Not_focussed" , [||])
505+
506+ let err_outofbounds =
507+ LtacError (rocq_core " Out_of_bounds" , [||])
508+
509+ let err_notfound =
510+ LtacError (rocq_core " Not_found" , [||])
511+
512+ let err_matchfailure =
513+ LtacError (rocq_core " Match_failure" , [||])
514+
515+ let err_division_by_zero =
516+ LtacError (rocq_core " Division_by_zero" , [||])
517+
518+ let err_invalid_arg msg =
519+ LtacError (rocq_core " Invalid_argument" , [|of_option of_pp (Some msg)|])
0 commit comments