prophet icon indicating copy to clipboard operation
prophet copied to clipboard

Less panics, more Results

Open Robbepop opened this issue 8 years ago • 0 comments

Currently Prophet handles too many (potential) errors with panics instead of proper Rust-style error handling via Result return type and proper error kinds etc. This also leads to less testable code and prevents implementing better error reporting strategies and should be addressed.

Branch next already implements (decent) error kinds and a rust-style Error struct with typical interface impls. The next step is to adjust the rest of the code base to this format away from asserts.

Robbepop avatar Aug 24 '17 17:08 Robbepop