Open asl opened 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.
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
ErrorOr
Expected
Currently error handling is mix-and-match of different things: exceptions are thrown, error strings are returned, etc. Make uniform error handling.