RDCore Diagnostics
Every problem the RDCore platform reports carries a stable code and, through the LSP
codeDescription field, a link to its page here. See
RD-VBAL §2.6 Diagnostics for the pull pipeline and the
definition of each code family.
| Family | Prefix | Raised by |
|---|---|---|
| Syntax errors | VBC (VBC00001–VBC00999) |
the parser, walking the concrete syntax tree |
| Semantic compilation errors | VBC (VBC09300+) |
the static semantics layer, walking the abstract syntax tree |
| Runtime errors | VBR / VBA |
the runtime semantics layer / a workspace Err.Raise |
| Rubberduck Core diagnostics | RDC |
the RDCore.Diagnostics analyzers |
Stability
A code gets a page here the moment the platform can emit it — the documentation grows at the same rate as the diagnostics. Once published, a code is not renumbered and not retired: a workspace built against an older release must still resolve its diagnostic links. The content of a page may evolve as the ideal set of codes is narrowed down; the code and its abstract meaning do not.
Each page describes the condition in the abstract. The specifics of a particular occurrence — which token, which literal, which type — travel in the diagnostic's verbose detail, not in the code.
Published codes
Syntax errors
| Code | Condition |
|---|---|
| VBC00001 | Syntax error — a token the grammar cannot place |
| VBC00042 | Numeric literal overflow — a literal outside the range of its type |
ACCUEIL • HOME | ℹ️ BIENVENUE • WELCOME | 🧩 BÂTISSONS • BUILD | RD-VBAL | SDK | 🌐 rubberduckvba.ca