Add new error constant
This commit was SVN r23090.
Этот коммит содержится в:
родитель
cd569f8a79
Коммит
f4ae2885e2
@ -101,7 +101,8 @@ enum {
|
||||
ORTE_ERR_SYS_LIMITS_SOCKETS = (ORTE_ERR_BASE - 29),
|
||||
ORTE_ERR_SOCKET_NOT_AVAILABLE = (ORTE_ERR_BASE - 30),
|
||||
ORTE_ERR_SYSTEM_WILL_BOOTSTRAP = (ORTE_ERR_BASE - 31),
|
||||
ORTE_ERR_MODULE_NOT_FOUND = (ORTE_ERR_BASE - 32)
|
||||
ORTE_ERR_MODULE_NOT_FOUND = (ORTE_ERR_BASE - 32),
|
||||
ORTE_ERR_RELOCATE_LIMIT_EXCEEDED = (ORTE_ERR_BASE - 33)
|
||||
};
|
||||
|
||||
#define ORTE_ERR_MAX (ORTE_ERR_BASE - 100)
|
||||
|
@ -129,7 +129,10 @@ const char *orte_err2str(int errnum)
|
||||
case ORTE_ERR_MODULE_NOT_FOUND:
|
||||
retval = "Framework requires at least one active module, but none found";
|
||||
break;
|
||||
|
||||
case ORTE_ERR_RELOCATE_LIMIT_EXCEEDED:
|
||||
retval = "Limit on number of process relocations was exceeded";
|
||||
break;
|
||||
|
||||
default:
|
||||
retval = NULL;
|
||||
}
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user