Skip to content

Python Exception Format #47

@steffbucag

Description

@steffbucag

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?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions