User Guide

155
CHAPTER 13
Verity Error Messages
This chapter provides information about error messages that might occur when using Verity in
either VDK mode or K2 mode.
Contents
VDK mode error codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
K2 mode error codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159
VDK mode error codes
All Verity Developer’s Kit (VDK) API functions return an error code, and VdkSuccess is the
successful return value. The following sections list the API error codes. These reflect actions of the
cfcollection, cfindex, or cfsearch tags.
Generic error codes
Usage 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.