Commit | Line | Data |
---|---|---|
805e021f CE |
1 | # Copyright 2000, International Business Machines Corporation and others. |
2 | # All Rights Reserved. | |
3 | # | |
4 | # This software has been released under the terms of the IBM Public | |
5 | # License. For details, see the LICENSE file in the top-level source | |
6 | # directory or online at http://www.openafs.org/dl/license10.html | |
7 | ||
8 | # */ | |
9 | ||
10 | # Backup Database error table | |
11 | ||
12 | # NOTE: BUDB_NOTPERMITTED value is hardcoded in audit/audit.h, so if you | |
13 | # make changes here, make sure that audit/audit.h is kept up to date. | |
14 | ||
15 | error_table BUDB | |
16 | #useful errors | |
17 | ec BUDB_DUMPIDEXISTS, "dump with specified id already exists" | |
18 | ec BUDB_NODUMPID, "no dump matching the id was found" | |
19 | ec BUDB_NODUMPNAME, "no dump matching the name was found" | |
20 | ec BUDB_NOTAPENAME, "no tape matching the name was found" | |
21 | ec BUDB_NOVOLUMENAME, "no volume matching the name was found" | |
22 | ec BUDB_NOENT, "entry doesn't exist" | |
23 | ec BUDB_TAPENOTINUSE, "reference to a tape not being used" | |
24 | ec BUDB_DUMPFAILED, "dump of database failed" | |
25 | ec BUDB_NOTPERMITTED, "access to database denied" | |
26 | ec BUDB_VERSIONMISMATCH, "incompatible version numbers" | |
27 | ||
28 | #interface | |
29 | ec BUDB_BADARGUMENT, "argument too long or out of range" | |
30 | ec BUDB_BADPROTOCOL, "sequence of operations incorrect" | |
31 | ec BUDB_BADFLAGS, "inconsistent or unsupported flags bit combination" | |
32 | ec BUDB_LIST2BIG, "requested list too large" | |
33 | ec BUDB_ENDOFLIST, "index to iterator function is out of range" | |
34 | ec BUDB_BLOCKTYPE, "bad database block type" | |
35 | ||
36 | #access control | |
37 | ec BUDB_NOTLOCKED, "lock is not set" | |
38 | ec BUDB_LOCKED, "lock is held by another user" | |
39 | ec BUDB_SELFLOCKED, "attempt to lock a lock already held" | |
40 | ||
41 | #compatibility | |
42 | ec BUDB_OLDINTERFACE, "interface incompatible" | |
43 | ||
44 | #generic - operational/programming | |
45 | ec BUDB_IO, "Ubik I/O error" | |
46 | ec BUDB_ADDR, "bad database address" | |
47 | ec BUDB_DATABASEINCONSISTENT, "backup database is inconsistent" | |
48 | ec BUDB_INTERNALERROR, "internal error encountered in backup database server" | |
49 | ec BUDB_NOCELLS, "error reading cell database" | |
50 | ec BUDB_NOCELL, "cell name not found" | |
51 | ec BUDB_EMPTY, "database empty or corrupted" | |
52 | ec BUDB_UBIKINIT, "Ubik ClientInit failed" | |
53 | ec BUDB_ALLOCFAIL, "couldn't allocate entry" | |
54 | ec BUDB_NOMEM, "can't allocate memory" | |
55 | ||
56 | #useful errors | |
57 | ec BUDB_NOTINITIALDUMP, "dump is not an initial dump" | |
58 | ec BUDB_DUMPNOTINUSE, "reference to a dump not being used" | |
59 | end |