unknown_error=0, /**< unknown error */
arg_error, /**< Invalid argument */
mismatch_error, /**< The provided ID does not match */
+ not_found_error, /**< The searched element was not found */
system_error, /**< a syscall did fail */
network_error, /**< error while sending/receiving data */
thread_error /**< error while [un]locking */
} xbt_errcat_t;
-const char *xbt_errcat_name(xbt_error_t errcode);
+const char *xbt_errcat_name(xbt_errcat_t errcode);
/** @brief Structure describing an exception */
typedef struct {
/** @brief Introduce a block where exception may be dealed with
* @hideinitializer
*/
-/* xbt_assert1(1,\
- "Severe error in exception mecanism: cannot save the catching context: %s", \
- strerror(errno)); \
-*/
#define TRY \
{ \
ex_ctx_t *__xbt_ex_ctx_ptr = __xbt_ex_ctx(); \