-
-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
Milestone
Description
Regular Python exceptions are explicitly raised at various spots in the codebase.
Better to refactor these to (possibly new) subclasses of SphobjinvError
.
- "
CountError
" instead ofValueError
orValueError
- Zero-length inventory error instead of
ValueError
-
contract
andexpand
bothTrue
error, instead ofValueError
Make sure to remove any per-file flake8 error ignores for cmdline.py
once the exception handling is (presumably) de-generalized.
Also likely add flake8-errmsg
to the flake8 plugins.