demexp-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Demexp-cvs] arch commit: demexp--cduce--0.3--patch-24


From: David
Subject: [Demexp-cvs] arch commit: demexp--cduce--0.3--patch-24
Date: Tue, 15 Feb 2005 18:25:09 +0100

Revision: demexp--cduce--0.3--patch-24
Archive: address@hidden
Creator: David MENTRE <address@hidden>
Date: Tue Feb 15 18:24:17 CET 2005
Standard-date: 2005-02-15 17:24:17 GMT
Modified-files: lablgtk2-clnt/browser.ml.nw
    lablgtk2-clnt/clsf.ml.nw lablgtk2-clnt/misc.ml.nw
    lablgtk2-clnt/newquestion.ml.nw
New-patches: address@hidden/demexp--cduce--0.3--patch-24
Summary: code cleanup: use dedicated exception to display error message
Keywords: client

*  lablgtk2-clnt/misc.ml.nw: we now use dedicated exception
   Display_error to display error messages to the user in case of
   network error (e.g. bad return code), instead of the generic one
   Failure, used by other parts and most notably RPC code. It avoid
   confusion and guarantees we handle correclty error cases.

   - new exception Display_error;

   - update handle_network_error to handle it.

*  lablgtk2-clnt/browser.ml.nw
*  lablgtk2-clnt/clsf.ml.nw
*  lablgtk2-clnt/newquestion.ml.nw

   - use it in other modules.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]