Browse thread
[Caml-list] Uncaught exceptions (or am I going crazy?)
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Maxence Guesdon <maxence.guesdon@i...> |
| Subject: | Re: [Caml-list] Uncaught exceptions (or am I going crazy?) |
Hi,
> ...
> Uncaught exception: Sys_error("Broken pipe")
> ...
This message is printed to indicate your program terminated because an exception was raised but not caught by any
try ... with ...
clause. The program execution is then aborted, and a message is printed with a description of the exception.
I think, the exception Sys_error("broken pipe") can occur, for example, if you try to write to a socket which has been closed by the application on the other side of the pipe.
For more information on exceptions handling :
http://caml.inria.fr/oreilly-book/html/book-ora017.html
> So has anyone else seen something like this?
Sure, everybody on this list has, one day or another, encountered such a 'strange behaviour' (brrr......) :-)
--
Maxence Guesdon
-------------------
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