maurer / holmes

Datalog engine with extensions for integrating analyses
MIT License
38 stars 4 forks source link

Improve Error Handling #29

Closed maurer closed 7 years ago

maurer commented 7 years ago

Switch to error_chain and remove instances of .unwrap() inside the library.

maurer commented 7 years ago

Now using error-chain, no instances of .unwrap() are used in the main library, panic! restricted to code thought unreachable.

The one exception is the EDSL, where the context makes throwing errors difficult.