IDE and compiler fixes

Error Docs

Searchable ClosedBit error pages with the reason, the fast fix, and a copy-paste example for each common checker, compiler, runtime, storage, license, and rendering issue.

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_SYNTAX

Syntax shape error

The compiler could not parse the current line or block shape.

CB_ERR_UNKNOWN_KEYWORD

Unknown command or keyword

A word at the start of a statement is not a ClosedBit keyword.

CB_ERR_UNKNOWN_FUNCTION

Unknown 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_SEMICOLON

Line 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_VALUE

Unknown value or variable

A name was used before it was declared or returned by an allowed function.

CB_ERR_TYPE_MISMATCH

Value type mismatch

A value was passed where the target function, variable, or operator expected a different type.

CB_ERR_OVERFLOW

u256 overflow

A checked unsigned 256-bit result exceeded the maximum allowed value.

CB_ERR_UNDERFLOW

u256 underflow

A checked unsigned 256-bit subtraction or operation produced a negative result.

CB_ERR_DIVIDE_BY_ZERO

Division by zero

A division or modulo operation used zero as the divisor.

CB_ERR_NONFINITE_FLOAT

Non-finite floating result

A floating-point operation produced NaN, positive infinity, or negative infinity.

CB_ERR_RANGE

Value out of accepted range

A number, index, shift amount, color, memory cap, or dimension is outside the supported range.

CB_ERR_TRUNCATION

Unsafe truncation

A conversion would lose information, usually from a larger numeric lane into a smaller lane.

CB_ERR_LIBRARY_NOT_FOUND

Library not found

A library declaration names a library that is not shipped, compiled, or installed in the active library path.

CB_ERR_RUNTIME_LAUNCH

Runtime launch failed

The .cba or .exe package could not start the selected runtime service.

CB_ERR_LICENSE_REQUIRED

License check required

The compiler could not confirm an active product license for the requested build.

CB_ERR_FILE_NOT_FOUND

File not found

A source, model, save file, key file, or library path was missing at build or runtime.

CB_ERR_SAVE_CONTAINER

Invalid .cb save container

A .cb file failed validation, was edited manually, or does not match the expected ClosedBit storage shape.

CB_ERR_ENCRYPT_KEY

Encrypt key problem

The encrypt command did not receive a generated key, key file, or valid 256-character key.

CB_ERR_DECRYPT_KEY

Decrypt key problem

The decrypt command requires the original matching key and cannot guess or regenerate it.

CB_ERR_BUILD_OUTPUT

Output artifact failure

The compiler could not write the requested .cba, .exe, .dll, .cbl, or .msi artifact.

CB_ERR_RENDER_CALL

Render call shape error

A rendering function received the wrong number or type of arguments.