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