X Tutup
Skip to content

Replaced the NotImplementedException from ToUnit with UnitNotFoundException#1594

Merged
angularsen merged 3 commits intoangularsen:masterfrom
lipchev:grouping-exceptions
Aug 9, 2025
Merged

Replaced the NotImplementedException from ToUnit with UnitNotFoundException#1594
angularsen merged 3 commits intoangularsen:masterfrom
lipchev:grouping-exceptions

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
@angularsen angularsen merged commit c971e46 into angularsen:master Aug 9, 2025
1 check was pending
@angularsen
Copy link
Owner

@lipchev Reminder to unskip the tests you mentioned in #1594 (comment)

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.

2 participants

X Tutup