aboutsummaryrefslogtreecommitdiff
path: root/crates/tor-memquota/src/error.rs
Commit message (Collapse)AuthorAgeFilesLines
* maint: Run maint/add_warning to deny string slicesClara Engler2026-06-091-0/+1
| | | | | | | | | | | | This commit executes maint/add_warning with the just added change to deny string slices except in tests. I recommend auditing this by checking out the previous commit followed by running the script yourself and then verifying that the diff is identical to this commit. This commit makes cargo clippy fail. We will add exceptions in the next commit.
* memquota: Add dedicated variant for duplicate child errorGabriela Moldovan2026-04-071-0/+9
|
* Fix name of clippy lint to unchecked_time_subtraction (2)Ian Jackson2025-11-061-1/+1
| | | | Run maint/add_warning
* memquota: Fix error message stringsIan Jackson2024-10-211-2/+2
| | | | | These errors aren't necessarily memory pressure. They can occur due to bugs, and during teardown.
* Fix typosDimitris Apostolou2024-09-031-1/+1
|
* byte_qty: Move to tor-basic-utilsIan Jackson2024-08-271-0/+1
| | | | Code motion of byte_qty.rs, and minimal necessary supporting changes.
* tor-memquota: Test Debug, Display and HasKind impls for errorsIan Jackson2024-07-241-0/+72
|
* tor-memquota: impl HasKind for StartupError and ReclaimCrashedIan Jackson2024-07-241-0/+19
| | | | | Trying to write comprehensive tests for the errors showed that these impls were missing.
* tor-memquota: impl HasKind for ReclaimedErrorInnerIan Jackson2024-07-241-1/+7
| | | | This will make testing easier.
* tor-memquota: Fix Display impl for Error::TrackerCorruptedIan Jackson2024-07-241-1/+1
| | | | | Bug found in review: https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2282#note_3051101
* tor-memquota: Expose TrackerCorruptedIan Jackson2024-07-241-4/+16
| | | | | We're going to want this as the return value from an accessor function, which cannot fail for any other reason.
* Rename tor-memtrack to tor-memquotaIan Jackson2024-04-291-0/+144