Next: , Previous: Windows error codes, Up: CAD errors and constants


5.3 Generic plugin error codes

The following constants are generic plugin and 4D error codes. Nothe that they are documented, but not predefined as 4D constant.

Value Constant Description
-19109 kLicenseNameTooLong
-19108 kLicenseBadPassword
-19107 kLicenseBadParam
-19106 kLicenseExpired
-19105 kLicenseBadSoftwareID
-19104 kLicenseNotFound
-19103 kLicenseBadCode
-19102 kLicenseBadSize
-19101 kLicenseBadVersion
-10503 k4DRecordIsOutOfRange
-9998 k4DDuplicatedKey
-9997 k4DMaximumNumberOfRecordsReached
-9992 k4DWrongPassword
-9991 k4DPrivilegesError
-9990 k4DTimeoutError
-9987 k4DAlreadyRelatedToThisRecord
-9986 k4DRecordLockedDuringAutomaticDeletion
-9985 k4DRecursiveIntegrity
-9984 k4DDuplicatedIndexCancelsTransaction
-9982 k4DRecordIsNotInTheSelection
-9981 k4DInvalidFieldSent
-9980 k4DStructureIsLocked
-9977 k4DNamedSelectionDoesNotExist
-9974 k4DRecordHasAlreadyBeenDeleted
-9972 k4DTableNumberRequestedIsOutOfRange
-9971 k4DFieldNumberRequestedIsOutOfRange
-9970 k4DFieldIsNotIndexed
-9969 k4DInvalidFieldTypeRequested
-9968 k4DInvalidSelectedRecordNumberRequested
-9967 k4DRecordCouldNotBeModifiedAndLoaded
-9966 k4DInvalidTypeRequested
-9965 k4DBadSearchDefinitionTableSent
-9964 k4DBadSortDefinitionTableSent
-9963 k4DInvalidRecordNumberRequested
-9946 k4DNamedSelectionToClearDoesntExist
-9939 k4DPluginMethodCanNotBeExecuted
-1 k4DPluginCallNotImplemented
10 k4DBadFieldType
16 k4DFieldHasNoRelation
30 k4DVariableExpected
42 k4DRecordCannotBePushed
45 k4DFieldOrVarExpected
47 k4DFieldMustBeAlpha
48 k4DSyntaxError
53 kIndexOutOfRange
54 kIncompatibleArgumentTypes
64 k4DPtrToLocalVar
65 k4DBadPtrObjType
66 k4DBadPtrMemType
67 k4DBadPtrType
68 k4DBadPtr
69 k4DBadArrayType
70 k4DBadArray
71 k4DBadIntType
72 k4DKeyNotFound
73 k4DDuplicateKeyFound
74 k4DBadFunctionResultType
75 k4DVarNotOfTypeText
76 k4DVarNotOfTypeLongint
77 k4DVarNotOfTypePicture
78 k4DTextTooLong
79 kStrTooLong
80 kBadDialog
81 kParamOutOfRange
82 k4DPrinterBusy
83 k4DSubFieldExpected
84 k4DVarNotOfTypePointer
85 k4DPtrNotOfTypeFieldOrSubField
86 k4DPtrNotOfTypeField
87 k4DPtrNotOfTypeFileOrField
88 k4DCantSearchOnThisFieldType
91 k4DTooManySortLines
92 k4DTooManySearchLines
93 k4DBadVarPtrOnServer
94 k4DBadVarRecPtrOnServer
95 k4DBadVarPtrTypeOnServer
96 k4DBadArrayTypeOnServer
97 kNilCharsHandleErr
98 kNilDataHandleErr
99 k4DMacOSGlobalsNotFound
100 kWin32PathnameTooLong
101 kWin32UnknownError
102 k4DProcedureNotFound
103 k4DBadText
105 k4DBadFunctionParamResultType
106 k4DProcessWindowNotFound
107 kWin32FontNameTooLong
108 kPrinterDoesntSupportResolution
109 kPrintTooLargeForThisResolution
110 kQuickTimeNotInstalled
111 kQuickTimeVersionTooOld
112 kMemMoveErr
113 kWin32PrintingError
114 kOffscreenError
115 kGraphBadMatrix
116 kInternalError
117 kSystemSoftwareTooOld
118 kQuickTimeUnknownErr
119 kUnresolvedLibraryFunction
120 kNumericalInstability
121 kImplementationRestriction
122 k4DBadArraySize
123 kBadParameter
124 kBadFloatStr
125 kBadLongintStr
126 kMacUnknownError
127 kBadFloatValue
128 kFloatValueOutOfRange
129 kPDFWriterError
130 kPDFDocAlreadyOpen
131 kPDFPageAlreadyOpen
132 kPDFPageNotOpen
133 kPDFBusy
134 kGraphBadPicture
135 kBadUTF8
136 kNotMacRomanStr
137 k4DPluginPackageNotFound
138 k4DPluginPackageInstalledTwice
139 k4DBadStructureDefinition
140 k4DVarNotOfTypeBlob
141 k4DSizeMismatch
142 kIntValueOutOfRange
143 kQtmlClientDLLNotFound
144 kZlibError
145 kOutlineFontNotFound
146 kUnknownFontFormat
147 kEditBoxValueNotAccepted
148 kBadResourceData
149 kBadResourceFormat
150 kBadOperation
151 kGraphBadDialog
4001 k4DBadFileNumber
4002 k4DBadRecordNumber
4003 k4DBadFieldNumber
4004 k4DNoCurrentRecord
4004 k4DNoCurrentRecord
19501 kRowValueFatalErr
19502 kRowNilFatalErr
19503 kRowIndexOutOfRange
19504 kRowBadParameter
19505 kRowBadMemMgr
19506 kRowBadMerge
19507 kRowBadElementSize
19508 kRowBadBlockCount
19509 kRowBadSwap
19510 kChainNilFatalErr
19511 kChainIncompatible
19512 kChainInternalError
19513 kChainBadSwap
19514 kChainBadMerge
19515 kChainBadParameter
19516 kFileIOBadAsyncState
19517 kFileIOBadBufferState
19518 kFileIODontDoThatAgain
19520 kBadMemMgr
19522 kReelNilParticlePtrErr
19523 kReelNilBlockPtrErr
19524 kReelNotEmptyErr
19525 kReelBadParameter
19526 kReelBadParticleSize
19527 kReelBadLogicalCount
19528 kReelBadMerge
19529 kReelBadSwap
19530 kRollBadParameter
19531 kRollNilValuePtrErr
19532 kRollBadMerge
19533 kRollIncompatible
19534 kRollBadSwap
19540 kLumpFatalSizeErr
19541 kLumpBadOffsErr
19542 kLumpNilDataPtrErr
19543 kLumpBadMemMgr
19544 kLumpValueOutOfRange
19545 kStreamBadParam
19546 kStreamBadValue
19547 kStreamBadOperation
19548 kStreamInternalError
19549 kStreamBadStoredValue
19550 kStreamBadMarkerValue
19551 kStreamEndOfInput
19552 kStreamReadBufferNotEmpty
19561 kSortBadParam
19562 kSortBadPtr
19563 kSortBadDataArraySize
19564 kSortBadPtrArraySize
19565 kSortDataNotAnArray
19570 kBufferTypesDontMatch
19574 kBufferBadType4D
19575 kSosoOnServerBusy
19576 kSosoBadCall
19577 kSosoBadDataID
19578 kSosoServerOutOfMemory
19579 kSosoServerNoResponse
19580 kProfilerStackOverflow
19581 kProfilerTriggerWasNotStarted
19582 kProfilerTriggerIsNotRunning
19583 kProfilerBadCallingChain
19584 kProfilerBadStackPtr
19585 kProfilerMissingTriggerName
19586 kProfilerBadHardware
19590 kAvlTreeBadNodeCount
19591 kAvlTreeBadParameter
19592 kAvlTreeNilPointer
19593 kAvlTreeIncompatible
19594 kAvlTreeOverflow
19595 kAvlTreeLinesNotEmpty
19596 kAvlTreeInternalError