Closed Blacksmoke16 closed 1 week ago
We need to be careful about the consequences. Introducing a completely new type into the hierarchy should be fine. But adding a new subtype relation for an existing exception class may cause issues.
I'd like to break this down into individual PRs, one for each parent type. This makes it more explizit what were changing and we can reason independently about each individual change.
@straight-shoota So 2 PRs? One for LogicError
and one for Time::Error
?
Closing in favor of #14742 and #14743
Implements what was proposed in https://github.com/crystal-lang/crystal/issues/11639#issuecomment-2090480502. Also not actually sure why I thought
OverflowError
inheritedRuntimeError
, so I handled that too.