Skip to content

fix: assertion throw ValidationError only#344

Merged
Zamralik merged 2 commits into
mainfrom
dev/zamralik/fix-assertion-thrown-error
May 20, 2026
Merged

fix: assertion throw ValidationError only#344
Zamralik merged 2 commits into
mainfrom
dev/zamralik/fix-assertion-thrown-error

Conversation

@Zamralik
Copy link
Copy Markdown
Member

TS Predicate

  • All assertions throw exclusively instances of ValidationError
  • Unit tests have been updated to check the class of the error

Testing Ground

  • createErrorTest accept an error constructor parameter

SmashingQuasar
SmashingQuasar previously approved these changes May 20, 2026
@Zamralik Zamralik merged commit b3e1798 into main May 20, 2026
29 checks passed
@Zamralik Zamralik deleted the dev/zamralik/fix-assertion-thrown-error branch May 20, 2026 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants