English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] exception handling questions
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-11-06 (10:39)
From: Dustin Sallings <dustin@s...>
Subject: Re: [Caml-list] exception handling questions

On Nov 6, 2003, at 1:47, Oleg Trott wrote:

> On Thursday 06 November 2003 03:38 am, Dustin Sallings wrote:
>>         Similarly, is there a way to print an exception at least like 
>> the
>> toplevel does?  I can catch any type of exception with the appropriate
>> pattern, but I don't see how I can report it without expecting it.
> Printexc.to_string : exn -> string

	Thanks, that's exactly what I was looking for, yet somehow unable to 
see even though it's right there in the docs.

Dustin Sallings

To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners