GenomeWorks
GenomeWorks copied to clipboard
Improve exception handling in python bindings
Currently error codes are simply converted to python RuntimeErrors, whereas it might be more appropriate to throw some of them as ValueErrors based on the type of error status
Also consider adding more custom exception types for each binding to deal with their specific errors. Then update the documentation, tests and samples accordingly to highlight the proper usage of these APIs and exceptions.