XRootD
XrdOssError.hh
Go to the documentation of this file.
1 #ifndef __XRDOSS_ETEXT__
2 #define __XRDOSS_ETEXT__
3 /******************************************************************************/
4 /* */
5 /* X r d O s s E T e x t . h h */
6 /* */
7 /* (c) 2003 by the Board of Trustees of the Leland Stanford, Jr., University */
8 /* All Rights Reserved */
9 /* Produced by Andrew Hanushevsky for Stanford University under contract */
10 /* DE-AC02-76-SFO0515 with the Department of Energy */
11 /* */
12 /* This file is part of the XRootD software suite. */
13 /* */
14 /* XRootD is free software: you can redistribute it and/or modify it under */
15 /* the terms of the GNU Lesser General Public License as published by the */
16 /* Free Software Foundation, either version 3 of the License, or (at your */
17 /* option) any later version. */
18 /* */
19 /* XRootD is distributed in the hope that it will be useful, but WITHOUT */
20 /* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or */
21 /* FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public */
22 /* License for more details. */
23 /* */
24 /* You should have received a copy of the GNU Lesser General Public License */
25 /* along with XRootD in a file called COPYING.LESSER (LGPL license) and file */
26 /* COPYING (GPL license). If not, see <http://www.gnu.org/licenses/>. */
27 /* */
28 /* The copyright holder's institutional names and contributor's names may not */
29 /* be used to endorse or promote products derived from this software without */
30 /* specific prior written permission of the institution or contributor. */
31 /******************************************************************************/
32 
33 #define XRDOSS_EBASE 8001
34 
35 #define XRDOSS_E8001 8001
36 #define XRDOSS_E8002 8002
37 #define XRDOSS_E8003 8003
38 #define XRDOSS_E8004 8004
39 #define XRDOSS_E8005 8005
40 #define XRDOSS_E8006 8006
41 #define XRDOSS_E8007 8007
42 #define XRDOSS_E8008 8008
43 #define XRDOSS_E8009 8009
44 #define XRDOSS_E8010 8010
45 #define XRDOSS_E8011 8011
46 #define XRDOSS_E8012 8012
47 #define XRDOSS_E8013 8013
48 #define XRDOSS_E8014 8014
49 #define XRDOSS_E8015 8015
50 // XRDOSS_E8016 8016
51 #define XRDOSS_E8017 8017
52 #define XRDOSS_E8018 8018
53 #define XRDOSS_E8019 8019
54 #define XRDOSS_E8020 8020
55 #define XRDOSS_E8021 8021
56 #define XRDOSS_E8022 8022
57 #define XRDOSS_E8023 8023
58 #define XRDOSS_E8024 8024
59 #define XRDOSS_E8025 8025
60 #define XRDOSS_E8026 8026
61 #define XRDOSS_E8027 8027
62 #define XRDOSS_E8028 8028
63 
64 #define XRDOSS_ELAST 8028
65 
66 #define XRDOSS_N8001 EBUSY // directory object in use
67 #define XRDOSS_N8002 EBADF // directory object not open
68 #define XRDOSS_N8003 EBUSY // file object in use
69 #define XRDOSS_N8004 EBADF // file object not open
70 #define XRDOSS_N8005 EROFS // file path marked read-only
71 #define XRDOSS_N8006 EPERM // dynamic staging not allowed
72 #define XRDOSS_N8007 EFBIG // max allowed file size exceeded
73 #define XRDOSS_N8008 ENOSYS // large file support not enabled
74 #define XRDOSS_N8009 EIO // dynamic staging failed
75 #define XRDOSS_N8010 EINVAL // invalid staging priority
76 #define XRDOSS_N8011 EXDEV // new path violates old path options
77 #define XRDOSS_N8012 EIO // invalid response from mss
78 #define XRDOSS_N8013 E2BIG // mss command too long
79 #define XRDOSS_N8014 EBUSY // lock object in use
80 #define XRDOSS_N8015 EAGAIN // unable to lock file
81 #define XRDOSS_N8016 EIO // 8016
82 #define XRDOSS_N8017 EPERM // unlocking an unlocked object
83 #define XRDOSS_N8018 EINVAL // invalid suggested allocation size
84 #define XRDOSS_N8019 ENOENT // requested space does not exist
85 #define XRDOSS_N8020 ENOSPC // not enough free space
86 #define XRDOSS_N8021 ENOTSUP // server-side decompression disabled
87 #define XRDOSS_N8022 EROFS // compressed files may not be updated
88 #define XRDOSS_N8023 EIO // no response from remote storage service
89 #define XRDOSS_N8024 EIO // invalid response from remote storage service
90 #define XRDOSS_N8025 EAGAIN // unable to queue stage request
91 #define XRDOSS_N8026 EACCES // file creation prohibited
92 #define XRDOSS_N8027 EINVAL // path is not relative
93 #define XRDOSS_N8028 EFAULT // dynamic cast failed
94 
95 #define XRDOSS_T8001 "directory object in use (internal error)"
96 #define XRDOSS_T8002 "directory object not open (internal error)"
97 #define XRDOSS_T8003 "file object in use (internal error)"
98 #define XRDOSS_T8004 "file object not open (internal error)"
99 #define XRDOSS_T8005 "file path marked read/only"
100 #define XRDOSS_T8006 "dynamic staging not allowed"
101 #define XRDOSS_T8007 "maximum allowed file size exceeded"
102 #define XRDOSS_T8008 "large file support not enabled"
103 #define XRDOSS_T8009 "dynamic staging failed"
104 #define XRDOSS_T8010 "invalid staging priority"
105 #define XRDOSS_T8011 "new path violates old path options"
106 #define XRDOSS_T8012 "invalid response from mss (internal error)"
107 #define XRDOSS_T8013 "mss command too long (internal error)"
108 #define XRDOSS_T8014 "lock object in use (internal error)"
109 #define XRDOSS_T8015 "unable to lock file"
110 #define XRDOSS_T8016 "8016"
111 #define XRDOSS_T8017 "unlocking an unlocked object (internal error)"
112 #define XRDOSS_T8018 "invalid suggested allocation size"
113 #define XRDOSS_T8019 "requested space does not exist"
114 #define XRDOSS_T8020 "not enough free space to create file"
115 #define XRDOSS_T8021 "server-side decompression is disabled"
116 #define XRDOSS_T8022 "compressed files may not be open for update"
117 #define XRDOSS_T8023 "no response from remote storage service"
118 #define XRDOSS_T8024 "invalid response from remote storage service"
119 #define XRDOSS_T8025 "unable to queue stage request to the remote storage service"
120 #define XRDOSS_T8026 "file creation is prohibited"
121 #define XRDOSS_T8027 "path is not a relative path"
122 #define XRDOSS_T8028 "dynamic cast failed (internal error)"
123 #endif