]> matita.cs.unibo.it Git - helm.git/commitdiff
More exceptions pretty printed.
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Thu, 3 Nov 2005 11:14:48 +0000 (11:14 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Thu, 3 Nov 2005 11:14:48 +0000 (11:14 +0000)
helm/matita/matitaExcPp.ml

index a80d0a2fb8c5ffbbec9d751feda624686579d65b..adf35d92fb5d49107d8f9f68877d6858c54bb77e 100644 (file)
@@ -51,5 +51,7 @@ let to_string =
         fname
   | ProofEngineTypes.Fail msg -> "Tactic error: " ^ Lazy.force msg
   | Continuationals.Error s -> "Tactical error: " ^ Lazy.force s
+  | CicTypeChecker.TypeCheckerFailure msg ->
+     "Type checking error: " ^ Lazy.force msg
   | exn -> "Uncaught exception: " ^ Printexc.to_string exn