summaryrefslogtreecommitdiff
path: root/crates/tor-persist/src/err.rs
Commit message (Collapse)AuthorAgeFilesLines
* Test a couple more error cases in tor-persist.Nick Mathewson2022-12-061-1/+10
|
* Use anonymize_home() when displaying various messages.Nick Mathewson2022-08-311-2/+3
| | | | Closes #555
* tor-persist: Resource::Temporary: Mark with cfgIan Jackson2022-07-181-0/+1
| | | | Without this, some builds get a "variant is never constructed" warning.
* tor-persist: Big refactoring on Error type.Nick Mathewson2022-07-061-28/+100
| | | | | | | | | | | 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.
* tor-persist: Move Error to a module.Nick Mathewson2022-07-061-0/+74