diff options
| author | Pierre Courtieu | 2014-07-31 20:51:48 +0200 |
|---|---|---|
| committer | Pierre Courtieu | 2014-07-31 20:58:34 +0200 |
| commit | 04b28b0c95f15fedb2e5eef26cd87b97b4e2120d (patch) | |
| tree | 70eeda29cad0dddb6191ba5ed71dbc0a39c6d2b0 /proofs/proof.mli | |
| parent | e4cc086eb69a10ad3360333c2c83f4a59a44c416 (diff) | |
Making the error message about bullets more precise.
Suggests in some cases the right bullet to use.
Diffstat (limited to 'proofs/proof.mli')
| -rw-r--r-- | proofs/proof.mli | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/proofs/proof.mli b/proofs/proof.mli index be5311fed8..ff1253e7c2 100644 --- a/proofs/proof.mli +++ b/proofs/proof.mli @@ -115,6 +115,14 @@ val focus : 'a focus_condition -> 'a -> int -> proof -> proof exception FullyUnfocused exception CannotUnfocusThisWay + +(* This is raised when trying to focus on non-existing subgoals. It is + handled by an error message but one may need to catched it and + settle a better error message in some case (suggesting a better + bullet for example), see proof_global.ml function Bullet.pop and + Bullet.push. *) +exception NoSuchGoals of int * int + (* Unfocusing command. Raises [FullyUnfocused] if the proof is not focused. Raises [CannotUnfocusThisWay] if the proof the unfocusing condition |
