| Code | Constant | Description |
|---|---|---|
| 0 | kdsERR_NoError | No error |
| -5 | kdsERR_ResNotFound | Internal resource not found |
| -15000 | kdsERR_BadArrayType | Invalid type of array |
| -30000 | kdsERR_NotRegistered | Not Registered |
| -30001 | kdsERR_TimeBombed | Time Has Bombed |
| -30002 | kdsERR_Bad4DVersion | Bad Version of 4D |
| -30003 | kdsERR_NeedAtLeast67 | Need At Least 67 |
| -30004 | kdsERR_CouldNotLoadStruct | Could Not Load Struct |
| -30005 | kdsERR_NotOnWindows | Not on Windows |
| -30006 | kdsERR_NotOnMac | Not on Mac |
| -30007 | kdsERR_NotOn4DClient | Not on 4D Client |
| -30008 | kdsERR_NotOnCompiled | Not in Compiled Database |
| -30009 | kdsERR_BadSelector | Bad selector |
| -30010 | kdsERR_InvalidBlob | Invalid BLOB |
| -30011 | kdsERR_Only4DMono | Only in 4D Single User |
| -30100 | kdsERR_OutOfRangeParameter | Out of Range Parameter |
| -30101 | kdsERR_ParamErr | Parameter Error |
| -30102 | kdsERR_32000CharReached | Character Limit Reached - Can't put more in text |
| -32000 | kdsERR_4DResLocked | Object Is Locked |
| -30201 | kdsERR_InvalidName | Invalid Name |
| -30300 | kdsERR_BadStyleSheetID | Bad StyleSheet ID |
| -30301 | kdsERR_MethodNameExists | Method Name Exists |
| -30302 | kdsERR_MethodNameNotFound | Method Name Not Found |
| -30303 | kdsERR_NoFlowChart | No Flow Chart |
| -30304 | kdsERR_InvalidStringFieldSize | Invalid String Field Size |
| -30305 | kdsERR_InvalidFieldKind | Invalid Field Kind |
| -30306 | kdsERR_GetVarOnlyCompiled | Get Var Only Compiled |
| -30307 | kdsERR_FormNotFound | Form Not Found |
| -30308 | kdsERR_ErrorReadingForm | Error Reading Form |
| -30309 | kdsERR_BadRulersParams | Bad Rulers Params |
| -30310 | kdsERR_DuplicateFormName | Duplicate Form Name |
| -30311 | kdsERR_UnknnownFO4DVers | Unknown Form Version |
| -30312 | kdsERR_FO4DParserError | Form Parser Error |
| -30313 | kdsERR_IDAlreadyUsed | ID Already Used |
| -30314 | kdsERR_NullFormHandle | Error while reading the form ("NullFromHandle") |
| -30350 | kdsERR_MaxFieldCount | Max field count reached |
| -30351 | kdsERR_DuplicateTableName | Duplicate table name |
| -30351 | kdsERR_MaxTableCount | Max table count reached |
| -30400 | kdsERR_CantChangeCompObject | Can't Change Component Object (protected) |
| -30401 | kdsERR_ObjectNotFound | Object Not Found |
| -30402 | kdsERR_CantGetCompObject | Can't Get Protected ComponentObject |
| -30403 | kdsERR_BadComponentID | Bad component ID |
| -30500 | kdsERR_PluginNotFound | Plugin not found |