Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Let errors propagate out of main too. | Harald Eilertsen | 2019-02-24 | 1 | -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 Eilertsen | 2019-02-23 | 1 | -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. |