Tags: logspacehq/runtyp
Tags
feat!: replace exceptions with error-as-value pattern
BREAKING CHANGE: All predicates now return ValidationResult objects instead of throwing ValidationError. This eliminates the need for try/catch blocks and provides structured error objects.
Migration: Replace `try { predicate(value); return true; } catch { return false; }` with `const result = predicate(value); return result.isValid;`
docs: update readme for new changes
docs: improved examples
chore: added benchmarks
chore: name change
PreviousNext