Better Error Handling
This issue concerns the rewrite.
Right now the error handling in here is a lot of
err_msg, which results in many situations where error handling could be done better. I don't have a lot of experience working with
failure, so it'll be a learning experience. If anybody wants to help out with this, jump right in.
I'd like to decide on a kind of policy for reporting errors to the user:
- Spit out errors with the logger right away
- Try to propagate them up to a fairly central location to be logged
- Some combination of these