aboutsummaryrefslogtreecommitdiffstats
path: root/src/error.rs
Commit message (Collapse)AuthorAgeFilesLines
* Let errors propagate out of main too.Harald Eilertsen2019-02-241-0/+20
| | | | | Makes error messages from the program slightly nicer, but still a bit cryptic for the casual user.
* Propagate errors from api calls to caller.Harald Eilertsen2019-02-231-0/+49
This defines an ApiResult type, and a corresponding Error type which wraps any errors that can be returned from underlying libs. Prevents panics due to unwraps in the core api. The main app still unwraps, and will panic on any error, though. Fix that later.