044b0024a4d7fa715df7df02b12b5ad65d13f008
Add InvariantError class and assertion utilities for runtime validation: - invariant(condition, message) - throws if condition is falsy, acts as type guard - assertNever(value) - for exhaustive switch statement checking - Support for lazy message evaluation to avoid expensive string operations These helpers enable defensive programming with clear error messages when invariants are violated. Closes bd-1w5
Description
No description provided
Languages
TypeScript
66%
Rust
33.5%
JavaScript
0.3%
Shell
0.1%