4 ms·
In Python try..except is very idiomatic.
by adrianN 9y ago
In Python try..except is very idiomatic.
- jakelazaroff 9y agoI wish JavaScript had Python's exception handling. There's no real way in JavaScript to catch only exceptions you're expecting, other than checking the error manually and re-throwing if it doesn't match.