GenomeWorks icon indicating copy to clipboard operation
GenomeWorks copied to clipboard

Improve exception handling in python bindings

Open tijyojwad opened this issue 6 years ago • 1 comments

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

tijyojwad avatar Sep 13 '19 14:09 tijyojwad

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.

tijyojwad avatar Apr 28 '20 14:04 tijyojwad