asl / BandageNG

a Bioinformatics Application for Navigating De novo Assembly Graphs Easily
GNU General Public License v3.0
116 stars 10 forks source link

Refactor error handling #98

Open asl opened 2 years ago

asl commented 2 years ago

Currently error handling is mix-and-match of different things: exceptions are thrown, error strings are returned, etc. Make uniform error handling.

asl commented 3 months ago

We'd likely switch to ErrorOr / Expected approach. We are already do this in https://github.com/asl/BandageNG/pull/156 as exceptions do not play nicely across multiple threads