From 9a2ac109fd90a708925c3aad1f0baf01d22bf746 Mon Sep 17 00:00:00 2001 From: mquinson Date: Sun, 7 Aug 2005 14:05:45 +0000 Subject: [PATCH] Add a new error category: not_found. It used to be in mismatch, but almost all errors were reported in this category; fix a typo git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1598 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- include/xbt/ex.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/xbt/ex.h b/include/xbt/ex.h index 54f8d0f2da..45225b2dbb 100644 --- a/include/xbt/ex.h +++ b/include/xbt/ex.h @@ -202,6 +202,7 @@ typedef enum { 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 */ @@ -209,7 +210,7 @@ typedef enum { 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 { -- 2.20.1