3 ms·
Why not expect that something would throw at some point where app logics are taking place and wrap with try-catch at your lower layer and handle uncaught errors
by mekster 3y ago
Why not expect that something would throw at some point where app logics are taking place and wrap with try-catch at your lower layer and handle uncaught errors there?
Adding all these boilerplate that not all people agree with would just make it harder to read and debug.