(refactor) Revamp the error system for new rust-error, removing boilerplate.
Merge pull request #247 from reem/error-update

(refactor) Revamp the error system for new rust-error, removing boilerplate.