Diagnostics Reference

On this page
Use this manual when a command reports a numbered diagnostic, an unknown proof result or an execution failure. It explains how to identify the relevant program condition, choose a repair and check that the repair restores the intended behavior. For a first worked example in all three syntaxes, follow B4101.
The complete code index lists every code with its stable name, default severity and status. Codes and names are the lookup keys: they never change meaning, while the English messages and suggested repairs can improve from one release to the next.
Read and diagnose
- Read diagnostics: locations, notes, fixes, counterexamples, streams and modes.
- Source text and syntax: indentation, delimiters, precedence and excluded forms.
- Names, declarations and types: source discovery, visibility and constraints.
- Flow, effects and memory: initialization, aliases, resources and task state.
- Checks, contracts and proof: real failures, missing facts, variants and unknown results.
- Operations and recovery: projects, solver, linking, REPL state and internal failures.
- Warnings and trust: assumptions, vacuous contracts and runtime omissions.
- Code index: every code, its default severity and status.
Scope of examples
Code pages give Vada and Varc examples, and Vibe examples for Vibe's own codes. Each example is labeled with its syntax: a Vada missing semicolon is not a Vibe indentation error. The semantic checks are the same in all three syntaxes. Each code page links a complete program from Verada's test suite that produces the diagnostic, so you can see the context a short fragment leaves out.
The three-syntax first proof, loop and contract repairs and Vibe compatibility table show complete repairs.
veradic explain CODE prints a code's explanation from the compiler itself, so it always matches the compiler you run:
veradic explain B4101