Cleanup and test errors.py
heubi95 opened this issue · 1 comments
heubi95 commented
- Clean up
Exception
hierarchy. - Rename
SYMBOLIC_NAMES_MAP
toNAME_TO_ASCII_CODE_MAP
. - Implement
test_errors.py
forInputLocation
class - Delete obsolete
tools.py
.
roskakori commented
Note: the Exception
hierarchy has been cleaned up. Now all exceptions are either a DataError
that can be fixed by providing proper data or an InterfaceError
that can be fixed by providing a proper CID respectively using the API properly.
There's also a few more exceptions to represent more specific variants of DataError
which currently seem useful mostly for test cases. Possibly we can collect them all with ´DataError`.