Error codes
These are the error codes that can be returned to a UniObjects application, together with
their replace tokens. Each token should be used with the UniObjectsTokens
prefix—for example, UniObjectsTokens.UVE_NOERROR.
| Code | Token | Description |
|---|---|---|
| 0 | UVE_NOERROR | No error |
| 14002 | UVE_ENOENT | No such file or directory |
| 14005 | UVE_EIO | I/O error |
| 14009 | UVE_EBADF | Bad file number |
| 14012 | UVE_ENOMEM | No memory available |
| 14013 | UVE_EACCES | Permission denied |
| 14022 | UVE_EINVAL | Invalid argument |
| 14023 | UVE_ENFILE | File table overflow |
| 14024 | UVE_EMFILE | Too many open files |
| 14028 | UVE_ENOSPC | No space left on device |
| 14551 | UVE_NETUNREACH | Network is unreachable |
| 22001 | UVE_BFN | Bad Field Number |
| 22002 | UVE_BTS | Buffer size too small |
| 20003 | UVE_IID | Illegal record ID |
| 22004 | UVE_LRR | The last record in the select list has been read |
| 22005 | UVE_NFI | Not a file identifier |
| 30001 | UVE_RNF | Record not found |
| 30002 | UVE_LCK | This file or record is locked by another user |
| 30095 | UVE_FIFS | The file ID is incorrect for the current session |
| 30097 | UVE_SELFAIL | The select operation failed |
| 30098 | UVE_LOCKINVALID | The task lock number specified is invalid |
| 30099 | UVE_SEQOPENED | The file was opened for sequential access and you have attempted hashed access |
| 30100 | UVE_HASHOPENED | The file was opened for hashed access and you have attempted sequential access |
| 30101 | UVE_SEEKFAILED | The operation using FileSeek ( ) failed |
| 30103 | UVE_INVALIDATKEY | The key used to set or retrieve an @variable is invalid |
| 30105 | UVE_UNABLETOLOADSUB | Unable to load the subroutine on the server |
| 30106 | UVE_BADNUMARGS | Too few or too many arguments supplied to the subroutine |
| 30107 | UVE_SUBERROR | The subroutine failed to complete successfully |
| 30108 | UVE_ITYPEFTC | The I-type operation failed to complete correctly |
| 30109 | UVE_ITYPEFAILEDTOLOAD | The I-type failed to load |
| 30110 | UVE_ITYPENOTCOMPILED | The I-type has not been compiled |
| 30111 | UVE_BADITYPE | This is not an I-type, or the I-type is corrupt |
| 30112 | UVE_INVALIDFILENAME | Must specify a filename |
| 30113 | UVE_WEOFFAILED | WEOFSEQ failed |
| 30114 | UVE_EXECUTEISACTIVE | An EXECUTE is currently active on the server |
| 30115 | UVE_EXECUTENOTACTIVE | No EXECUTE is currently active on the server |
| 30124 | UVE_TX_ACTIVE | Cannot perform this operation while a transaction is active |
| 30125 | UVE_CANT_ACCESS_PF | Cannot access part files |
| 30126 | UVE_FAIL_TO_CANCEL | Failed to cancel an execute |
| 30127 | UVE_INVALID_INFO_KEY | Bad key for the host type |
| 30128 | UVE_CREATE_FAILED | The creation of a sequential file failed |
| 30129 | UVE_DUPHANDLE_FAILED | Failed to duplicate a pipe handle |
| 31000 | UVE_NVR | No VOC record |
| 31001 | UVE_NPN | No pathname in VOC record |
| 39101 | UVE_NODATA | The server is not responding |
| 39119 | UVE_AT_INPUT | The server is waiting for input to a command |
| 39120 | UVE_SESSION_NOT_OPEN | The session is not open |
| 39121 | UVE_UVEXPIRED | The database license has expired |
| 39122 | UVE_CSVERSION | The client and the server are not running at the same release level |
| 39123 | UVE_COMMSVERSION | The client or server is not running at the same release level as the communications support |
| 39124 | UVE_BADSIG | You are trying to communicate with the wrong client or server |
| 39125 | UVE_BADDIR | The directory does not exist or is not a database account |
| 39127 | UVE_BAD_UVHOME | Cannot find the UV account directory |
| 39128 | UVE_INVALIDPATH | An invalid pathname was found in the UV.ACCOUNT file |
| 39129 | UVE_INVALIDACCOUNT | The account name supplied is not an account |
| 39130 | UVE_BAD_UVACCOUNT_FILE | The UV.ACCOUNT file could not be found or opened |
| 39131 | UVE_FTA_NEW_ACCOUNT | Failed to attach to the specified account |
| 39134 | UVE_ULR | The user limit has been reached on the server |
| 39135 | UVE_NO_NLS | NLS is not available |
| 39136 | UVE_MAP_NOT_FOUND | NLS map not found |
| 39137 | UVE_NO_LOCALE | NLS locale support not available |
| 39138 | UVE_LOCALE_NOT_FOUND | NLS locale not found |
| 39139 | UVE_CATEGORY_NOT_FOUND | NLS locale category not found |
| 39201 | UVE_SR_SOCK_CON_FAIL | The server failed to connect to the socket |
| 39210 | UVE_SR_SELECT_FAIL | The server failed to select on input channel. When you see this error, you must quit and reopen the session. |
| 39211 | UVE_SR_SELECT_TIMEOUT | The select has timed out |
| 40001 | UVE_INVALIDFIELD | Pointer error in a sequential file operation |
| 40002 | UVE_SESSIONEXISTS | The session is already open |
| 40003 | UVE_BADPARAM | An invalid parameter was passed to a subroutine |
| 40004 | UVE_BADOBJECT | An incorrect object was passed |
| 40005 | UVE_NOMORE | The nextBlock ( ) method was used but there are no more blocks to pass. |
| 40006 | UVE_NOTATINPUT | The reply ( ) method can be used only when the response( ) method returns UVS_REPLY |
| 40007 | UVE_INVALID_DATAFIELD | The dictionary entry does not have a valid TYPE field |
| 40008 | UVE_BAD_DICTIONARY_ ENTRY | The dictionary entry is invalid |
| 40009 | UVE_BAD_CONVERSION_ DATA | Unable to convert the data in the field |
| 45000 | UVE_FILE_NOT_OPEN | File has been closed, must reopen before performing an operation |
| 45001 | UVE_OPENSESSION_ERR | Maximum number of sessions already open |
| 45002 | UVE_NONNULL_RECORDID | Cannot perform operation on a nonnull record ID |
| 80011 | UVE_BAD_LOGINNAME | The user name or login name provided is incorrect |
| 80019 | UVE_BAD_PASSWORD | The password has expired |
| 80144 | UVE_ACCOUNT_EXPIRED | The account has expired |
| 80147 | UVE_RUN_REMOTE_FAILED | Unable to run as the given user |
| 80148 | UVE_UPDATE_USER_FAILED | Unable to update user details |
| 81001 | UVE_RPC_BAD_CONNECTION | The connection is bad and may be passing corrupt data. |
| 81002 | UVE_RPC_NO_CONNECTION | The connection is broken |
| 81005 | UVE_RPC_WRONG_VERSION | The version of the UniRPC on the server is different from the version on the client. |
| 81007 | UVE_RPC_NO_MORE_ CONNECTIONS | No more connections available |
| 81009 | UVE_RPC_FAILED | The UniRPC failed |
| 81011 | UVE_RPC_UNKNOWN_HOST | The host name specified is not valid, or the host is not responding |
| 81014 | UVE_RPC_CANT_FIND_ SERVICE | Cannot find the service in the unirpcservices file |
| 81015 | UVE_RPC_TIMEOUT | The connection has timed out |
| 81016 | UVE_RPC_REFUSED | The connection was refused as the UniRPC daemon is not running |
| 81017 | UVE_RPC_SOCKET_INIT_ FAILED | Failed to initialize the network interface |
| 81018 | UVE_RPC_SERVICE_PAUSED | The UniRPC service has been paused |
| 81019 | UVE_RPC_BAD_TRANSPORT | An invalid transport type has been used |
| 81020 | UVE_RPC_BAD_PIPE | Invalid pipe handle |
| 81021 | UVE_RPC_PIPE_WRITE_ERROR | Error writing to pipe |
| 81022 | UVE_RPC_PIPE_READ_ERROR | Error reading from pipe |