tor-persist: Big refactoring on Error type.
Every error now has an action (what we were trying to do), a resource (what we were trying to do it to), and a source (what problem we encountered).
Initially I tried to add "action" and "resource" fields to error variants individually, but that led to a combinatorial explosion.
Part of #323 (closed).
Edited by Nick Mathewson
Merge request reports
Activity
assigned to @nickm
requested review from @eta
enabled an automatic merge when the pipeline for 8cea3f73 succeeds
added 8 commits
-
8cea3f73...372ff615 - 6 commits from branch
tpo/core:main
- aeef36a5 - tor-persist: Move Error to a module.
- 6e36693a - tor-persist: Big refactoring on Error type.
-
8cea3f73...372ff615 - 6 commits from branch
enabled an automatic merge when the pipeline for 6e36693a succeeds
added 1 commit
- 862bfae7 - fixup! tor-persist: Big refactoring on Error type.
marked this merge request as draft from nickm/arti@862bfae7
mentioned in commit 0537e88d
mentioned in issue #177
Please register or sign in to reply