-
Notifications
You must be signed in to change notification settings - Fork 0
Error Handling
Test User edited this page Mar 28, 2026
·
1 revision
KodPix uses deterministic exit codes for automation and CI.
| Code | Meaning |
|---|---|
0 |
Success |
1 |
Compilation error |
2 |
Syntax error |
3 |
Semantic error |
4 |
Linker error |
5 |
I/O error |
-
2Syntax error- Missing semicolon
- Invalid punctuation
- Malformed function header
-
3Semantic error- Type mismatch
- Undefined symbol
-
5I/O error- Input file missing
- Output path not writable
- Re-run in assembly mode:
./kdx your_file.kdx -S -o /tmp/debug.s- Run core suite:
./test.sh- Run focused gates:
./quick_tests/run_quick_tests.sh
./quick_tests/run_spec_tests.shfooter