Uq_engines.Receiver_attn

Guillaume Yziquel <[email protected]> Wed, 19 Aug 2009 23:36:53 +0200
Newsgroups gmane.comp.lang.ocaml.lib.net.devel
Message-ID <[email protected]>
Hello.

I've been playing around with Unixqueue and Uq_engines. When writing a 
handler with a specific group for some rather specific timeouts, I'm 
faced with the Uq_engines.Receiver_attn exception coming around.

As I've been using some receiver uq_engine, this is no surprise.

However, this exception is not declared in uq_engines.mli...

That means I cannot pattern-match for this exception since it is unknown 
to the OCaml compiler, since it's not in the .mli file.

This is a (mild) pain.

All the best,

Guillaume Yziquel.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july