Skip to content

refactor(error): add From<regex::Error> impl for Error#340

Merged
chaliy merged 1 commit intomainfrom
claude/fix-319-from-regex-error-TjcEQ
Feb 27, 2026
Merged

refactor(error): add From<regex::Error> impl for Error#340
chaliy merged 1 commit intomainfrom
claude/fix-319-from-regex-error-TjcEQ

Conversation

@chaliy
Copy link
Copy Markdown
Contributor

@chaliy chaliy commented Feb 27, 2026

Summary

  • Add Regex variant to Error enum with #[from] regex::Error
  • Handle new variant in error_kind() match in tool.rs

Closes #319

Test plan

  • cargo build succeeds
  • cargo test --all-features passes (all 69 tests pass)

@chaliy chaliy merged commit 4c3fa48 into main Feb 27, 2026
16 checks passed
@chaliy chaliy deleted the claude/fix-319-from-regex-error-TjcEQ branch February 27, 2026 03:51
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.

feat: add From<regex::Error> impl for Error to reduce boilerplate

2 participants