/classads-1.0.8/classad/classadErrno.h
# · C Header · 80 lines · 49 code · 13 blank · 18 comment · 0 complexity · 2e16f5bf20678af48472a9cb148a81c4 MD5 · raw file
- /***************************************************************
- *
- * Copyright (C) 1990-2007, Condor Team, Computer Sciences Department,
- * University of Wisconsin-Madison, WI.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you
- * may not use this file except in compliance with the License. You may
- * obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- ***************************************************************/
- #ifndef __CLASSAD_ERRNO_H__
- #define __CLASSAD_ERRNO_H__
- #include "classad/common.h"
- BEGIN_NAMESPACE(classad)
- static const int ERR_OK = 0;
- static const int ERR_MEM_ALLOC_FAILED = 1;
- static const int ERR_BAD_VALUE = 255;
- static const int ERR_FAILED_SET_VIEW_NAME = 256;
- static const int ERR_NO_RANK_EXPR = 257;
- static const int ERR_NO_REQUIREMENTS_EXPR = 258;
- static const int ERR_BAD_PARTITION_EXPRS = 259;
- static const int ERR_PARTITION_EXISTS = 260;
- static const int ERR_MISSING_ATTRNAME = 261;
- static const int ERR_BAD_EXPRESSION = 262;
- static const int ERR_INVALID_IDENTIFIER = 263;
- static const int ERR_MISSING_ATTRIBUTE = 264;
- static const int ERR_NO_SUCH_VIEW = 265;
- static const int ERR_VIEW_PRESENT = 266;
- static const int ERR_TRANSACTION_EXISTS = 267;
- static const int ERR_NO_SUCH_TRANSACTION = 268;
- static const int ERR_NO_REPRESENTATIVE = 269;
- static const int ERR_NO_PARENT_VIEW = 270;
- static const int ERR_BAD_VIEW_INFO = 271;
- static const int ERR_BAD_TRANSACTION_STATE = 272;
- static const int ERR_NO_SUCH_CLASSAD = 273;
- static const int ERR_BAD_CLASSAD = 275;
- static const int ERR_NO_KEY = 276;
- static const int ERR_LOG_OPEN_FAILED = 277;
- static const int ERR_BAD_LOG_FILENAME = 278;
- static const int ERR_NO_VIEW_NAME = 379;
- static const int ERR_RENAME_FAILED = 280;
- static const int ERR_NO_TRANSACTION_NAME = 281;
- static const int ERR_PARSE_ERROR = 282;
- static const int ERR_INTERNAL_CACHE_ERROR = 283;
- static const int ERR_FILE_WRITE_FAILED = 284;
- static const int ERR_FATAL_ERROR = 285;
- static const int ERR_CANNOT_CHANGE_MODE = 286;
- static const int ERR_CONNECT_FAILED = 287;
- static const int ERR_CLIENT_NOT_CONNECTED = 288;
- static const int ERR_COMMUNICATION_ERROR = 289;
- static const int ERR_BAD_CONNECTION_TYPE = 290;
- static const int ERR_BAD_SERVER_ACK = 291;
- static const int ERR_CANNOT_REPLACE =292;
- static const int ERR_CACHE_SWITCH_ERROR =293;
- static const int ERR_CACHE_FILE_ERROR =294;
- static const int ERR_CACHE_CLASSAD_ERROR =295;
- static const int ERR_CANT_LOAD_DYNAMIC_LIBRARY = 296;
- END_NAMESPACE //classad
- #endif