Error Codes
Stable error codes appear in error.code and command-specific findings.
Common examples:
workbook_busy: another xlflow process holds the target workbook's coordination lock. The command fails immediately by default; JSON details include the workbook, attempted operation, and whether retrying is supported. Current owner metadata is included when available but is not authoritative.workbook_busy_timeout: an explicit--waitdid not acquire every required workbook lock within the 30-second default or supplied--wait-timeout.workbook_busy_cancelled: Ctrl+C or caller cancellation stopped an explicit workbook wait before the command body started.workbook_recovery_required: the normal OS lock was acquired, but a previous operation left the workbook in an uncertain Excel/VBA state. The command body does not start, the failure is not retryable, and--waitwill not recover it. Followerror.details.recovery_actions.workbook_recovery_verification_failed: normalrecovery clearcould not prove that the recorded Excel PID no longer exists, or the marker did not contain verifiable process information. The marker remains.workbook_recovery_publication_failed: xlflow detected an uncertain termination but could not atomically publish its recovery marker. Stop or close Excel manually before attempting more workbook work.coordination_recovery_check_failed: xlflow could not safely read recovery state after acquiring the workbook lock. Unsafe operations fail closed.coordination_wait_args_invalid:--wait-timeoutwas used without--wait, or the timeout was not positive.coordination_wait_unsupported: the selected command is not a retryable, non-parallel-safe workbook operation.coordination_status_unavailable(warning):session statuscould not probe workbook coordination state. Existing session status fields and exit behavior remain available, while the top-levelcoordinationfield is omitted.vbide_access_deniedmacro_failedmacro_not_foundmacro_timeoutvba_compile_failedgui_boundary_detectedsource_preflight_failedoutput_file_existsunsupported_image_formatform_not_foundFRM202spec_validation_failedfmt_failedfmt_check_failedfmt_skipped_unsupported_extensionfmt_args_invalidfmt_stdin_read_failedfmt_stdin_write_failedwindows_xlflow_not_foundwsl_project_path_unsupportedwsl_path_translation_failedwindows_xlflow_execution_failed
Lint codes include VB001 through VB015, VB018 through VB023, VB026 through VB029, VB031, and VB032. Analyzer codes include VBA101 through VBA106 and runtime-risk findings VBA201 through VBA212.