bihealth / auto-acmg

Automatic classification of sequence variants and CNVs according to ACMG criteria.
GNU General Public License v3.0
7 stars 0 forks source link

Setup proper Error handling #92

Closed gromdimon closed 6 months ago

gromdimon commented 6 months ago

Is your feature request related to a problem? Please describe. Currently the script has multiple places, where various errors can occure. However, we need to have clearly specified error handling behaviour.

Describe the solution you'd like Go thorugh all methods and a) find places where built-in errors can occure b) find places where custom errors can occure. Then we need to implement proper error handling with logging just on the highest stage (in CLI app)

Describe alternatives you've considered N/A

Additional context Probably we need to create more custom errors and re-raise built-in ones in the building blocks.