Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Error Codes

Batuta error codes follow a hierarchical naming convention for easy identification and resolution.

Error Code Format

BATUTA-[PHASE]-[NUMBER]
  • PHASE: Which phase generated the error (ANALYZE, TRANSPILE, OPTIMIZE, VALIDATE, BUILD)
  • NUMBER: Specific error within that phase

Analysis Phase Errors (BATUTA-A-*)

CodeDescriptionResolution
BATUTA-A-001Language detection failedEnsure source files have correct extensions
BATUTA-A-002Dependency analysis timeoutIncrease timeout or reduce project scope
BATUTA-A-003TDG calculation errorCheck for circular dependencies
BATUTA-A-004ML framework not recognizedUpdate Batuta to latest version

Transpilation Phase Errors (BATUTA-T-*)

CodeDescriptionResolution
BATUTA-T-001Transpiler not foundInstall required transpiler (depyler/bashrs/decy)
BATUTA-T-002Syntax error in sourceFix source code syntax
BATUTA-T-003Type inference failedAdd type annotations
BATUTA-T-004Unsupported constructCheck compatibility matrix

Optimization Phase Errors (BATUTA-O-*)

CodeDescriptionResolution
BATUTA-O-001SIMD not availableUse fallback backend
BATUTA-O-002GPU memory exhaustedReduce batch size
BATUTA-O-003Backend selection failedCheck hardware compatibility

Validation Phase Errors (BATUTA-V-*)

CodeDescriptionResolution
BATUTA-V-001Output mismatchReview semantic differences
BATUTA-V-002Test suite failedFix failing tests
BATUTA-V-003Syscall trace divergenceCheck I/O operations

Build Phase Errors (BATUTA-B-*)

CodeDescriptionResolution
BATUTA-B-001Compilation failedCheck Rust compiler output
BATUTA-B-002Linking errorVerify dependencies
BATUTA-B-003Cross-compilation unsupportedCheck target architecture

Quality Gate Errors (BATUTA-Q-*)

CodeDescriptionResolution
BATUTA-Q-001Demo score below thresholdImprove code quality to A- (85)
BATUTA-Q-002Coverage insufficientAdd more tests
BATUTA-Q-003Clippy warnings presentFix linting issues

Navigate: Table of Contents