All K2 Client API functions return an error code, and K2Success is the successful return value. A complete listing of API error codes follows.
| 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 |
LiveDocs comments are not longer enabled for ColdFusion 5.0. Please use one of the following resources instead.
ColdFusion 8 | ColdFusion MX 7 | ColdFusion MX 6.1 | ColdFusion MX | Forums | Developer Center | Bug Reporting
Version 5.0