Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add support for host failure exception to the xbt_errcat_t.
[simgrid.git] / include / xbt / ex.h
index 0eda539..92c87ff 100644 (file)
@@ -242,7 +242,8 @@ typedef enum {
   system_error,   /**< a syscall did fail */
   network_error,  /**< error while sending/receiving data */
   timeout_error,  /**< not quick enough, dude */
-  thread_error    /**< error while [un]locking */
+  thread_error,    /**< error while [un]locking */
+       host_error                      /**< host failed */
 } xbt_errcat_t;
 
 XBT_PUBLIC(const char *) xbt_ex_catname(xbt_errcat_t cat);