User Guide

Verity VDK Error Messages 213
Verity VDK Error Messages
All Verity Developers Kit API functions return an error code, and VdkSuccess is the
successful return value. A complete listing of API error codes follows.
Generic error codes
Usage error codes
Runtime error codes
Error Code No. Description
VdkSuccess (0) Operation completed successfully.
VdkFail (-2) A general failure not covered by another API error
code.
VdkWarn (1) A general warning.
Error Code No. Description
VdkError_BadArgStruct (-10) Invalid argument structure.
VdkError_BadHandleType (-11) Improper object type.
VdkError_HandleNotFound (-12) Object not found.
VdkError_MissingArgs (-13) Missing required arguments.
VdkError_InvalidArgs (-14) Invalid arguments.
VdkError_MultipleSesNew (-16) VdkSessionNew called twice.
VdkError_NestedService (-17) VdkService called reentrantly.
VdkError_NestedFree (-18) VdkSessionFree called reentrantly.
VdkError_Unsupported (-19) Using an unsupported feature.
Error Code No. Description
VdkError_NoMsgDb (-20) Cannot find the message database.
VdkError_FatalError (-21) Fatal error.
VdkError_OutOfMemory (-22) Out of memory.
VdkError_DiskFull (-23) Out of disk space.
VdkError_NoFileHandles (-24) Out of file handles.
VdkError_InvalidDoc (-25) Bad document ID or key (internal or external).
VdkError_FileNotFound (-26) File not found.
VdkError_ArgTooLarge (-27) Argument too large.