2 ms·
Agreed! I normally just raise exceptions all the way up until the method that called the function that errored, then handle the exception at the highest level.
by quickslowdown 3y ago
Agreed! I normally just raise exceptions all the way up until the method that called the function that errored, then handle the exception at the highest level. That way, I just get a stack trace if I don't have any handling. But I'm also an amateur, self taught developer who's probably doing most things wrong :p