We are thinking that it is better to separate the exceptions to easily identify which exception was caught.
So, instead of using
except (Exception1, Exception2):
[code here]
We use this
except Exception1:
[code here]
except Exception2:
[code here]
Your thoughts on this?
We are thinking that it is better to separate the exceptions to easily identify which exception was caught.
So, instead of using
We use this
Your thoughts on this?