Skip to content

Using PyErr instead of panic. #165

@tushushu

Description

@tushushu

The downside of using panic is you cannot use try-catch to block to prevent the program from interrupting. So use pyerr instead would be a better choice.

Metadata

Metadata

Assignees

Labels

code qualityTo improve or check code quality.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions