F.4 Error codes
The error codes returned by the Hyper-G Server are divided into three groups, corresponding to the server module that generated the error:
- Error codes between 1 and 511 are link server errors.
- Error codes between 512 and 1023 are full text server errors.
- Error codes between 1024 and 2047 are document cache
server errors.
An error code of 0 means that no error occurred.
The following table shows the link server error codes with their associated mnemonic names and a short (human-readable) description that could be output on a terminal, for example.
| Attribute Indexed | Object class Multiple | Editable |
| 1 | NOACCESS | Access denied |
| 2 | NODOCS | No documents |
| 3 | NONAME | No collection name |
| 4 | NODOC | Object is not a document |
| 5 | NOOBJ | No object received |
| 6 | NOCOLLS | No collections received |
| 7 | DBSTUBNG | Connection to low-level database failed |
| 8 | NOTFOUND | Object not found |
| 9 | EXIST | Collection already exists |
| 10 | FATHERDEL | Parent collection disappeared |
| 11 | FATHNOCOLL | Parent collection not a collection |
| 12 | NOTEMPTY | Collection not empty |
| 13 | DESTNOCOLL | Destination not a collection |
| 14 | SRCEQDEST | Source equals destination |
| 15 | REQPEND | Request pending |
| 16 | TIMEOUT | Timeout |
| 17 | NAMENOTUNIQUE | Name not unique |
| 18 | WRITESTOPPED | Database now read-only; try again later |
| 19 | LOCKED | Object locked; try again later |
| 20 | CHANGEBASEFLD | Change of base attribute |
| 21 | NOTREMOVED | Attribute not removed |
| 22 | FLDEXISTS | Attribute exists |
| 23 | CMDSYNTAX | Syntax error in command |
| 24 | NOLANGUAGE | No or unknown language specified |
| 25 | WRGTYPE | Wrong type in object |
| 26 | WRGVERSION | Client version too old |
| 27 | CONNECTION | No connection to other server |
| 28 | SYNC | Synchronization error |
| 29 | NOPATH | No path entry |
| 30 | WRGPATH | Wrong path entry |
| 31 | PASSWD | Wrong password (server-to-server server authentication) |
| 32 | LC_NO_MORE_USERS | No more users for license |
| 33 | LC_NO_MORE_DOCS | No more documents for this session and license |
| 34 | RSERV_NRESP | Remote server not responding |
| 35 | Q_OVERFLOW | Query overflow |
| 36 | USR_BREAK | Break by user |
| 37 | N_IMPL | Not implemented |
The following table shows the full text server error codes with their associated mnemonic names and a short (human-readable) description that could be output on a terminal, for example.
| Attribute Indexed | Object class Multiple | Editable |
| 513 | FTCONNECT | No connection to full text server |
| 514 | FTTIMEOUT | Connection timed out |
| 515 | FTINDEX | Something wrong with full text index |
| 516 | FTSYNTAX | Query syntax error |
The following table shows the document cache server error codes with their associated mnemonic names and a short (human-readable) description that could be output on a terminal, for example. Where necessary, a more specific description (which is not part of the error string) is given in C++ comments.
| Attribute Indexed | Object class Multiple | Editable |
| 1025 | REQUESTPENDING | Request pending |
| 1026 | NOCONNECTION | No connection to document server |
| 1027 | WRONGVERSION | Wrong protocol version |
| 1028 | NOTINITIALIZED | Not initialized |
| 1029 | BADREQUEST | Bad request |
The remaining error codes are of a more general nature
| Attribute Indexed | Object class Multiple | Editable |
| 1030 | BADLRN | Bad document number |
| 1031 | OPENSTORE_WRITE | Cannot write to local store |
| 1032 | OPENSTORE_READ | Cannot read from local store |
| 1033 | READSTORE | Store read error |
| 1034 | WRITESTORE | Write error; an internal failure (for example, disk full) |
| 1035 | CLOSESTORE | Close error; the update of internal data structures after inserting user data failed |
| 1036 | BADPATH | Bad path |
| 1037 | NOPATH | No path |
| 1038 | OPENFILE | Cannot open file; mainly occurs when attempting to read the "old" documents(that is, those where the path is a file name with offset/length) |
| 1039 | READFILE | Cannot read from file; same |
| 1040 | WRITEFILE | Cannot write to file |
| 1041 | CONNECTCLIENT | Could not connect to client |
| 1042 | ACCEPT | Could not accept connection |
| 1043 | READSOCKET | Could not read from socket |
| 1044 | WRITESOCKET | Could not write to socket |
| 1045 | (unused) | |
| 1046 | TOOMUCHDATA | Received too much data; the client wrote more than was specified in the header |
| 1047 | TOOFEWDATA | Received too little data |
| 1048 | (unused) | |
| 1049 | NOTIMPLEMENTED | Not implemented |
| 1050 | USERBREAK | User break; a job was terminated by the user's exit (usually the user will not see this error because (s)he exited) |
| 1051 | INTERNAL | Internal error; object syntax error (mainly occurs when retrieving non-Hyper-G data) |
| 1052 | JOBTIMEOUT | Job timed out; the client did not read/write for a certain amount of time (which is configurable at the server's side) |
| 1054 | OPENPORT | Cannot open port; ...for several reasons |
| 1055 | NODATA | Received no data; the client did not send any data |
| 1056 | NOPORT | No port to handle this request; a request to receive a document from a remote HG server was timed out |
| 1057 | NOTCACHED | Document not cached |
| 1058 | BADCACHETYPE | Bad cache type; ...an error with a more internal nature |
| 1059 | OPENCACHE_WRITE | Cannor write to cache; as with the store errors above |
| 1060 | OPENCACHE_READ | Cannot read from cache; same |
| 1061 | NOSOURCE | Do not know what to read; same as BADCACHETYPE |
| 1062 | CLOSECACHE | Could not insert into cache; same as OPENCACHE_WRITE |
| 1063 | CONNECTREMOTE | Could not connect to remote server |
| 1064 | LOCKREFUSED | Lock refused; could not lock the stores |
