dmlite  0.4
errno.h
Go to the documentation of this file.
1 /** @file include/dmlite/common/errno.h
2  * @brief Error codes.
3  * @author Alejandro Álvarez Ayllon <aalvarez@cern.ch>
4  */
5 #ifndef DMLITE_COMMON_ERRNO_H
6 #define DMLITE_COMMON_ERRNO_H
7 
8 #define DM_NO_ERROR 0x0000
9 
10 #define DM_UNKNOWN_ERROR 0x0001
11 #define DM_UNEXPECTED_EXCEPTION 0x0002
12 #define DM_INTERNAL_ERROR 0x0003
13 #define DM_NO_SUCH_SYMBOL 0x0004
14 #define DM_API_VERSION_MISMATCH 0x0005
15 #define DM_NO_FACTORY 0x0006
16 #define DM_NO_POOL_MANAGER 0x0007
17 #define DM_NO_CATALOG 0x0008
18 #define DM_NO_INODE 0x0009
19 #define DM_NO_AUTHN 0x000A
20 #define DM_NO_SECURITY_CONTEXT 0x000B
21 #define DM_EMPTY_SECURITY_CONTEXT 0x000C
22 #define DM_NO_IO 0x000D
23 
24 #define DM_MALFORMED_CONF 0x0100
25 #define DM_UNKNOWN_OPTION 0x0101
26 #define DM_UNKNOWN_KEY 0x0102
27 
28 #define DM_UNKNOWN_HOST 0x0200
29 #define DM_CONNECTION_ERROR 0x0201
30 #define DM_SERVICE_UNAVAILABLE 0x0202
31 #define DM_QUERY_FAILED 0x0203
32 #define DM_UNKNOWN_FIELD 0x0204
33 
34 #define DM_NOT_IMPLEMENTED 0x1001
35 #define DM_NULL_POINTER 0x1002
36 #define DM_BAD_OPERATION 0x1003
37 #define DM_NO_SUCH_FILE 0x1004
38 #define DM_BAD_DESCRIPTOR 0x1005
39 #define DM_RESOURCE_UNAVAILABLE 0x1006
40 #define DM_OUT_OF_MEMORY 0x1007
41 #define DM_FORBIDDEN 0x1008
42 #define DM_EXISTS 0x1009
43 #define DM_NOT_DIRECTORY 0x100A
44 #define DM_IS_DIRECTORY 0x100B
45 #define DM_INVALID_VALUE 0x100C
46 #define DM_NO_SPACE_LEFT 0x100D
47 #define DM_NAME_TOO_LONG 0x100E
48 #define DM_TOO_MANY_SYMLINKS 0x100F
49 #define DM_NO_COMMENT 0x1010
50 #define DM_NO_REPLICAS 0x1011
51 #define DM_PUT_ERROR 0x1012
52 #define DM_IS_CWD 0x1013
53 #define DM_NO_SUCH_REPLICA 0x1014
54 #define DM_NOT_REGULAR 0x1015
55 
56 #define DM_NO_USER_MAPPING 0x1101
57 #define DM_NO_SUCH_USER 0x1102
58 #define DM_NO_SUCH_GROUP 0x1103
59 #define DM_NOT_A_KEY 0x1104
60 
61 #define DM_INVALID_ACL 0x1201
62 
63 #define DM_UNKNOWN_POOL_TYPE 0x2001
64 #define DM_NO_SUCH_FS 0x2002
65 #define DM_NO_SUCH_POOL 0x2003
66 
67 #endif /* DMLITE_COMMON_ERRNO_H */