Skip to content

Replaced the NotImplementedException from ToUnit with UnitNotFoundException - #1594

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

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

Conversation

@lipchev

Copy link
Copy Markdown
Collaborator
  • 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
Copy Markdown
CollaboratorAuthor

@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
Copy Markdown
CollaboratorAuthor

@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.

@lipchevlipchev changed the title Replaced the NotImplementedException which is thrown from the ToUnit method with UnitNotFoundExceptionReplaced the NotImplementedException from ToUnit with UnitNotFoundExceptionAug 3, 2025
@angularsen
angularsen merged commit c971e46 into angularsen:masterAug 9, 2025
1 check was pending
@angularsen

Copy link
Copy Markdown
Owner

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

Sign up for freeto 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

@lipchev@angularsen