diff --git a/slurm/slurm_errno.h b/slurm/slurm_errno.h index a05fff7bb8bc0e7bb64b6254e03f879837e0acf8..a59399d269e230e497021e6d1ac56d20466500a3 100644 --- a/slurm/slurm_errno.h +++ b/slurm/slurm_errno.h @@ -261,6 +261,7 @@ enum { ESLURM_CLUSTER_DELETED, ESLURM_ONE_CHANGE, ESLURM_BAD_NAME, + ESLURM_OVER_USAGE, /* plugin and custom errors */ ESLURM_MISSING_TIME_LIMIT = 8000 diff --git a/src/common/slurm_errno.c b/src/common/slurm_errno.c index 0293d406473c681868092ab97e9a7e7dcea66a6a..94e44f465bcd817aaf3707633f88e5527a339b3c 100644 --- a/src/common/slurm_errno.c +++ b/src/common/slurm_errno.c @@ -396,6 +396,8 @@ static slurm_errtab_t slurm_errtab[] = { "Can only change one at a time" }, { ESLURM_BAD_NAME, "Unacceptable name given. (No '.' in name allowed)" }, + { ESLURM_OVER_USAGE, + "Request would go over available amount of usage" }, /* plugin and custom errors */ { ESLURM_MISSING_TIME_LIMIT,