diff --git a/src/Utilities/PublicHeader/include/crane/PublicHeader.h b/src/Utilities/PublicHeader/include/crane/PublicHeader.h index 824220e31..5d9a5dd0d 100644 --- a/src/Utilities/PublicHeader/include/crane/PublicHeader.h +++ b/src/Utilities/PublicHeader/include/crane/PublicHeader.h @@ -44,12 +44,6 @@ enum class CraneErr : uint16_t { kSystemErr, // represent the error which sets errno kExistingTask, kInvalidParam, - kInvalidUser, - kInvalidQos, - kInvalidTimeLimit, - kInvaildCpusperTask, - kInvaildNodeList, - kInvalidExNodeList, kStop, kPermissionDenied, @@ -225,7 +219,6 @@ const std::unordered_map ErrCodeStrMap = } - inline std::string_view CraneErrStr(CraneErr err) { return Internal::CraneErrStrArr[uint16_t(err)]; }