You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There could be a parent IndraError exception class, from which all other INDRA exceptions inherit, and sub-modules could get their own classes, and so on. This would allow for better filtering of exceptions by users, as well as ourselves.
The text was updated successfully, but these errors were encountered:
That was basically my plan, although perhaps not in separate files for the submodules, but rather in each file as needed unless a parent exception is warranted for the module, in which case I would add a separate file with that parent exception.
One rationale for doing this is to have lots of smaller python files that don't have large public namespaces, then aggregate all of the useful stuff in each module in the __init__.py. This might also be another thing to consider while refactoring :)
There could be a parent
IndraError
exception class, from which all other INDRA exceptions inherit, and sub-modules could get their own classes, and so on. This would allow for better filtering of exceptions by users, as well as ourselves.The text was updated successfully, but these errors were encountered: