Glossary
Pick an error code.
These pages use real URLs so users and AI tools can link directly to the fix instead of hunting through one giant document.
CB_ERR_SYNTAXSyntax shape error
The compiler could not parse the current line or block shape.
CB_ERR_UNKNOWN_KEYWORDUnknown command or keyword
A word at the start of a statement is not a ClosedBit keyword.
CB_ERR_UNKNOWN_FUNCTIONUnknown function
The checker found a function call that is not built in and is not defined in this source or a loaded library.
CB_ERR_MISSING_SEMICOLONLine termination ambiguity
Semicolons are optional at normal line ends, but still required when more than one statement appears on one line or inside C-style for headers.
CB_ERR_UNDECLARED_VALUEUnknown value or variable
A name was used before it was declared or returned by an allowed function.
CB_ERR_TYPE_MISMATCHValue type mismatch
A value was passed where the target function, variable, or operator expected a different type.
CB_ERR_OVERFLOWu256 overflow
A checked unsigned 256-bit result exceeded the maximum allowed value.
CB_ERR_UNDERFLOWu256 underflow
A checked unsigned 256-bit subtraction or operation produced a negative result.
CB_ERR_DIVIDE_BY_ZERODivision by zero
A division or modulo operation used zero as the divisor.
CB_ERR_NONFINITE_FLOATNon-finite floating result
A floating-point operation produced NaN, positive infinity, or negative infinity.
CB_ERR_RANGEValue out of accepted range
A number, index, shift amount, color, memory cap, or dimension is outside the supported range.
CB_ERR_TRUNCATIONUnsafe truncation
A conversion would lose information, usually from a larger numeric lane into a smaller lane.
CB_ERR_LIBRARY_NOT_FOUNDLibrary not found
A library declaration names a library that is not shipped, compiled, or installed in the active library path.
CB_ERR_RUNTIME_LAUNCHRuntime launch failed
The .cba or .exe package could not start the selected runtime service.
CB_ERR_LICENSE_REQUIREDLicense check required
The compiler could not confirm an active product license for the requested build.
CB_ERR_FILE_NOT_FOUNDFile not found
A source, model, save file, key file, or library path was missing at build or runtime.
CB_ERR_SAVE_CONTAINERInvalid .cb save container
A .cb file failed validation, was edited manually, or does not match the expected ClosedBit storage shape.
CB_ERR_ENCRYPT_KEYEncrypt key problem
The encrypt command did not receive a generated key, key file, or valid 256-character key.
CB_ERR_DECRYPT_KEYDecrypt key problem
The decrypt command requires the original matching key and cannot guess or regenerate it.
CB_ERR_BUILD_OUTPUTOutput artifact failure
The compiler could not write the requested .cba, .exe, .dll, .cbl, or .msi artifact.
CB_ERR_RENDER_CALLRender call shape error
A rendering function received the wrong number or type of arguments.
