Closed piperun closed 1 month ago
If you want to rethrow all exceptions ( general catch ) you don't need to try to catch from the beginning. what do you think ?
If you want to rethrow all exceptions ( general catch ) you don't need to try to catch from the beginning. what do you think ?
I think that depends, right now we rethrow all exceptions, but perhaps overtime with enough overhaul it might get to a point where we want to handle certain exceptions in a particular fashion.
I kinda also think it looks cleaner/tells the developer that "this is for exception handling".
Not sure if try catch is welcomed, but I stumbled upon:
null check operator used on a null value
and took a while to debug and find out that it was a null check operator withinstate_grid_manager
.If no try catch I suppose we could do something like: