Skip to content

Conversation

@mark-bloom
Copy link
Contributor

Modify exceptions as classes inheriting from Exception.

The previous exceptions were throwing an additional exception since Python throws the following if not inherited:

"TypeError: catching classes that do not inherit from BaseException is not allowed"

Add new exceptions as classes inheriting from Exception
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant