Skip to content

Conversation

@ericsciple
Copy link
Collaborator

@ericsciple ericsciple commented Jan 7, 2026

Format string validation at parse time:

  • Invalid format string syntax throws ErrorInvalidFormatString
  • Argument count mismatch throws ErrorFormatArgCountMismatch

This catches errors early and automatically for all consumers.

@ericsciple ericsciple force-pushed the users/ericsciple/26-01-format2 branch from 28df68e to 8c82b7b Compare January 7, 2026 21:54
Format string validation now happens at parse time in the Parser:
- Invalid format string syntax throws ErrorInvalidFormatString
- Argument count mismatch throws ErrorFormatArgCountMismatch

This catches errors early and automatically for all consumers.
@ericsciple ericsciple force-pushed the users/ericsciple/26-01-format2 branch from 8c82b7b to 9f260c4 Compare January 7, 2026 22:00
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