Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add specific exception message in GenericStrategyProvider #79

Closed
urs-muntwyler opened this issue Jan 11, 2023 · 0 comments · Fixed by #80
Closed

Add specific exception message in GenericStrategyProvider #79

urs-muntwyler opened this issue Jan 11, 2023 · 0 comments · Fixed by #80

Comments

@urs-muntwyler
Copy link
Contributor

In BBT.StrategyPattern.GenericStrategyProvider.GetStrategy(TCriterion criterion), if no strategy is found for the given criteria, the method fails with exception message 'Sequence contains no matching element'. A more specific exception message should be provided in this case.

urs-muntwyler added a commit that referenced this issue Jan 16, 2023
* .NET 6

* Added more specific exception message.

Co-authored-by: Urs Muntwyler <urs.muntwyler@bbtsoftware.ch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant