Skip to content

Replaced the NotImplementedException from ToUnit with UnitNotFoundException #1594

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lipchev
Copy link
Collaborator

@lipchev lipchev commented Aug 3, 2025

  • moved all exceptions into a new solution folder
  • replaced the NotImplementedException which is thrown from the ToUnit method with UnitNotFoundException

- replaced the NotImplementedException which is thrown from the ToUnit method with UnitNotFoundException
@lipchev
Copy link
Collaborator Author

lipchev commented Aug 3, 2025

@angularsen Well, technically this would be a breaking change for someone who's actually catching for the NotImplementedException - but given how not a single test failed when I changed it, I guess that's not a big deal.

@lipchev
Copy link
Collaborator Author

lipchev commented Aug 3, 2025

@angularsen Well, technically this would be a breaking change for someone who's actually catching for the NotImplementedException - but given how not a single test failed when I changed it, I guess that's not a big deal.

PS There are some tests coming for it in #1587 (currently [Skipped]), so if you merge this first I'll un-skip them there.

@lipchev lipchev changed the title Replaced the NotImplementedException which is thrown from the ToUnit method with UnitNotFoundException Replaced the NotImplementedException from ToUnit with UnitNotFoundException Aug 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant