Summary
- Add the complete canonical
NativeBridgeErrorCodeunion to the mobile bridge declaration and include it inCraftErrorCode. - Preserve existing mobile/shim code names for source compatibility; document that old names are not silently rewritten wire aliases.
- Compare the declaration with Zig's actual
errorCodeStringmapping and compile an isolated consumer that accepts native/legacy codes while rejecting misspellings.
Closes #266.
Validation
- Before: the isolated consumer rejects
BUSY, and the canonical vocabulary parity test fails. - After: both regression tests pass, covering all 17 native codes and compiler-enforced rejection of invalid names.
- Root typechecks, focused Pickier and diff checks pass.