X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fmatita%2FmatitaExcPp.ml;h=a80d0a2fb8c5ffbbec9d751feda624686579d65b;hb=9b193e984a2ab8c94e4c032c382f17c6c436938d;hp=f141b129a73b686448c694a334af057e8d5f7de6;hpb=7c0db1e564918026d56e81163b4f1e4aee649055;p=helm.git diff --git a/helm/matita/matitaExcPp.ml b/helm/matita/matitaExcPp.ml index f141b129a..a80d0a2fb 100644 --- a/helm/matita/matitaExcPp.ml +++ b/helm/matita/matitaExcPp.ml @@ -40,5 +40,16 @@ let to_string = | Unix.Unix_error (code, api, param) -> let err = Unix.error_message code in "Unix Error (" ^ api ^ "): " ^ err + | MatitaMoo.Corrupt_moo fname -> + sprintf ".moo file '%s' is corrupt (shorter than expected)" fname + | MatitaMoo.Checksum_failure fname -> + sprintf "checksum failed for .moo file '%s', please recompile it'" fname + | MatitaMoo.Version_mismatch fname -> + sprintf + (".moo file '%s' has been compiled by a different version of matita, " + ^^ "please recompile it") + fname + | ProofEngineTypes.Fail msg -> "Tactic error: " ^ Lazy.force msg + | Continuationals.Error s -> "Tactical error: " ^ Lazy.force s | exn -> "Uncaught exception: " ^ Printexc.to_string exn