Posted on 31st May 2025|21 views
How can I catch multiple exceptions in one line?
Posted on 31st May 2025| views
try:
can_raise_any_errors():
except (SomeErrorOne, SomeErrorTwo) as errr:
handle(errr)