User Guide
K2 mode error codes 159
Dispatch error codes
Warning error codes
K2 mode error codes
All K2 Client API functions return an error code, and K2Success is the successful return value.
The following sections list the API error codes. These reflect actions of the
cfsearch tag.
Generic error codes
Usage error codes
VdkError_FilterLoadFailed (-144) Error occurred during filter initialization.
VdkError_FileOpenFailed (-145) File could not be opened.
Error code No. Description
VdkError_CouldntLoadDLL (-200) Cannot load DLL.
VdkError_NoSuchFunction (-201) Function not available.
Error code No. Description
VdkWarning_CollectionDown (10) The collection was down when it was opened.
VdkWarning_QueryComplex (11) Too many matching words.
VdkWarning_LowMemory (12) Memory is low for indexing.
VdkWarning_CollectionReadOnly (13) The collection is read-only.
VdkWarning_DriverNotFound (14) Couldn’t locate specified driver.
VdkWarning_LargeToken (15) Returned a token greater than maxSize.
VdkWarning_ArgTooLarge (16) Argument too large.
VdkWarning_DataSrcNotAvail (17) Cannot locate collection data.
VdkWarning_SearchRestricted (18) Search restricted to a subset of the collection.
Error code No. Description
K2Success (0) Operation completed successfully.
K2Fail (-2) A general failure not covered by another API error code.
K2Warn (1) A general warning.
Error code No. Description
K2Error_NoConnectAvail (-9) A K2 connection is not available.
K2Error_BadArgStruct (-10) Invalid argument structure.
Error code No. Description