Skip to content

Add smart suggestions to resolution error messages#180

Merged
lesnik512 merged 1 commit intomainfrom
171-add-smart-suggestions-to-resolution-error-messages
May 2, 2026
Merged

Add smart suggestions to resolution error messages#180
lesnik512 merged 1 commit intomainfrom
171-add-smart-suggestions-to-resolution-error-messages

Conversation

@lesnik512
Copy link
Copy Markdown
Member

When resolving an unregistered type, scan the registry for plausible matches: registered subclasses, registered base classes, and close name matches via difflib. Append up to 3 hints (with provider scope) to the ProviderNotRegisteredError message.

Closes #171

When resolving an unregistered type, scan the registry for plausible
matches: registered subclasses, registered base classes, and close
name matches via difflib. Append up to 3 hints (with provider scope)
to the ProviderNotRegisteredError message.

Closes #171

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@lesnik512 lesnik512 self-assigned this May 2, 2026
@lesnik512 lesnik512 linked an issue May 2, 2026 that may be closed by this pull request
@lesnik512 lesnik512 merged commit 996f132 into main May 2, 2026
7 checks passed
@lesnik512 lesnik512 deleted the 171-add-smart-suggestions-to-resolution-error-messages branch May 2, 2026 11:08
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.

Add smart suggestions to resolution error messages

1 participant