Skip to content

Commit 757a929

Browse files
authored
Merge pull request #188 from SkySkimmer/timeout-exns
Adapt to rocq-prover/rocq#21149 (fixed handling of Timeout Fail)
2 parents a58b80a + 5faf470 commit 757a929

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/exceptions.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ let wp_error_handler (e : exn) : Pp.t option =
175175
else
176176
None
177177
| Gramlib.Grammar.ParseError s -> Some (Pp.str "Syntax error: Unfortunately, this sentence cannot be understood. Check for instance whether all parentheses match and whether all words are spelled correctly. To reduce syntax errors, it can be helpful to input sentences using the autocomplete functionality.")
178-
| CErrors.Timeout -> Some (Pp.str "Timeout: Waterproof could not find a proof in the allocated time. Consider making a smaller step.")
178+
| VernacControl.CmdTimeout -> Some (Pp.str "Timeout: Waterproof could not find a proof in the allocated time. Consider making a smaller step.")
179179
| _ -> None)
180180
else None
181181

0 commit comments

Comments
 (0)