Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Uncaught exceptions (or am I going crazy?)
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-10-02 (15:01)
From: Maxence Guesdon <maxence.guesdon@i...>
Subject: Re: [Caml-list] Uncaught exceptions (or am I going crazy?)

> ...
> 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 :

> 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 Archives:
Bug reports: FAQ:
Beginner's list: