dsrc isn't necessary for this repo
[client-tools.git] / src / external / 3rd / library / perforce / include / errornum.h
blob59d8c3d136034f2a419a7a7eee0902e24592b564
1 /*
2 * Copyright 1995, 1996 Perforce Software. All rights reserved.
3 */
5 /*
6 * Errornum.h - error number definitions
7 */
9 enum ErrorGeneric {
11 EV_NONE = 0, // misc
13 // The fault of the user
15 EV_USAGE = 0x01, // request not consistent with dox
16 EV_UNKNOWN = 0x02, // using unknown entity
17 EV_CONTEXT = 0x03, // using entity in wrong context
18 EV_ILLEGAL = 0x04, // trying to do something you can't
19 EV_NOTYET = 0x05, // something must be corrected first
20 EV_PROTECT = 0x06, // protections prevented operation
22 // No fault at all
24 EV_EMPTY = 0x11, // action returned empty results
26 // not the fault of the user
28 EV_FAULT = 0x21, // inexplicable program fault
29 EV_CLIENT = 0x22, // client side program errors
30 EV_ADMIN = 0x23, // server administrative action required
31 EV_CONFIG = 0x24, // client configuration inadequate
32 EV_UPGRADE = 0x25, // client or server too old to interact
33 EV_COMM = 0x26 // communications error
35 } ;
37 enum ErrorSubsystem {
39 ES_OS = 0, // OS error
40 ES_SUPP = 1, // Misc support
41 ES_LBR = 2, // librarian
42 ES_RPC = 3, // messaging
43 ES_DB = 4, // database
44 ES_DBSUPP = 5, // database support
45 ES_DM = 6, // data manager
46 ES_SERVER = 7, // top level of server
47 ES_CLIENT = 8, // top level of client
48 ES_INFO = 9, // pseudo subsystem for information messages
49 ES_HELP = 10, // pseudo subsystem for help messages
50 ES_SPEC = 11, // pseudo subsystem for spec/comment messages
51 ES_FTPD = 12 // P4FTP server
52 } ;