The bulk of this PR is a re-write of our error system, as described in #15, and originally attempted on this branch. Since that branch has since gotten very stale, this PR does not build upon it but was instead written from scratch. Note that this PR does not close #15, as many unwrap()s still exist in the code. Some errors have been improved to use proper error variants instead of strings attached to a generic error, but this can be taken further in future PRs.
This PR also replaces all usages of rustc_serialize with serde_json, closing #19.
Additionally this PR fixes some minor issues related to test cases and the unstable feature.
The bulk of this PR is a re-write of our error system, as described in #15, and originally attempted on this branch. Since that branch has since gotten very stale, this PR does not build upon it but was instead written from scratch. Note that this PR does not close #15, as many
unwrap()
s still exist in the code. Some errors have been improved to use proper error variants instead of strings attached to a generic error, but this can be taken further in future PRs.This PR also replaces all usages of
rustc_serialize
withserde_json
, closing #19.Additionally this PR fixes some minor issues related to test cases and the
unstable
feature.This change is