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.
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_QueryParse |
(-40) |
Query has a parsing error. |
ErrorCode |
No. |
Description |
---|---|---|
K2Error_InvalidUse |
(-80) |
Invalid user/password combination. |
Error code |
No. |
Description |
---|---|---|
K2Error_HostNotAvail |
(-90) |
Cannot contact remote host. |
K2Error_NotReEntrant |
(-91) |
Not reentrant. |
K2Error_CallDenied |
(-92) |
Call cannot be executed. |
Error code |
No. |
Description |
---|---|---|
K2Error_CouldntLoadDLL |
(-200) |
Cannot load DLL. |
K2Error_NoSuchFunction |
(-201) |
Function not available. |