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