| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Bump all crates to 0.1.0arti-v0.1.0 | Nick Mathewson | 2022-03-01 | 1 | -1/+1 |
| | | |||||
| * | Update README.md files from rustdoc. | Nick Mathewson | 2022-03-01 | 1 | -16/+5 |
| | | |||||
| * | Fix typo in message | Nick Mathewson | 2022-02-28 | 1 | -1/+1 |
| | | |||||
| * | EK::RemoteProtocolFailed replaces OtherRemote | Ian Jackson | 2022-02-28 | 1 | -6/+14 |
| | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/355#note_2781816 | ||||
| * | Introduce ErrorKind::OtherRemote | Ian Jackson | 2022-02-28 | 1 | -0/+9 |
| | | | | | | | | | | | arti-hyper wants to be able to have a kind for TLS failure. Given that arti-hyper is above arti-client, this shows that callers above arti-client might need to invent kinds for their own errors. Possibly this means we need other Other errors for other locations. If we have pluggable components we might even want OtherTorError. | ||||
| * | Update minimum backtrace version to 0.3.39 | Nick Mathewson | 2022-02-25 | 1 | -1/+1 |
| | | | | | | This is needed to make the backtrace test pass on Rust 1.53 with minimum-version libraries. | ||||
| * | Merge branch 'proto_handshake_err' into 'main' | Nick Mathewson | 2022-02-24 | 1 | -2/+2 |
| |\ | | | | | | | | | | | | | tor-proto: Split up a couple of handshake-based errors Closes #359 and #358 See merge request tpo/core/arti!344 | ||||
| | * | tor-proto: Split IoErr based on when it occurs | Nick Mathewson | 2022-02-23 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | We want to distinguish handshake failures from errors later on in the channel's lifetime. Closes #359. | ||||
| * | | Give specific error kinds to different END reasons | Nick Mathewson | 2022-02-23 | 1 | -1/+53 |
| |/ | | | | Closes #360. | ||||
| * | Cleanups on !340 from @diziet | Ian Jackson | 2022-02-23 | 1 | -2/+8 |
| | | |||||
| * | Make NoLock into BadApiUsage. | Nick Mathewson | 2022-02-22 | 1 | -12/+0 |
| | | | | | | | To implement this, we had to refactor the tor_circmgr api for flushing state changes to disk, so that it checks if it has the lock, and only then tries to store. | ||||
| * | Eliminate RequestedResourceAbsent kind. | Nick Mathewson | 2022-02-22 | 1 | -7/+0 |
| | | | | | | | | | There was only one use of this, and it was in as-yet-unused relay-only code. Removing this type required refactoring the relay onion handshake code to use its own error type, which is probably clever anyway. | ||||
| * | Fold NamespaceFull into BadApiUsage. | Nick Mathewson | 2022-02-22 | 1 | -12/+0 |
| | | |||||
| * | Rename RemoteNameError to RemoteHostNotFound | Nick Mathewson | 2022-02-22 | 1 | -4/+4 |
| | | | | | | This is a bit ugly but we need it to work around the problem where exits aren't always clear about _why_ a hostname lookup failed. | ||||
| * | Replace TorNetworkError with TorDirectoryError | Nick Mathewson | 2022-02-22 | 1 | -6/+6 |
| | | | | | | | This is still not as specific as we want; but there's already a TODO comment in tor-dirclient::err about fixing that at some point in the future. | ||||
| * | Rename TorConnectionFailed to TorAccessFailed | Nick Mathewson | 2022-02-22 | 1 | -1/+1 |
| | | |||||
| * | Fold UnexplainedTaskSpawnFailure into Internal. | Nick Mathewson | 2022-02-22 | 1 | -9/+1 |
| | | |||||
| * | Rename TorShuttingDown to ArtiShuttingDown | Nick Mathewson | 2022-02-22 | 1 | -1/+1 |
| | | |||||
| * | Replace RemoteRefused with CircuitRefused. | Nick Mathewson | 2022-02-22 | 1 | -4/+4 |
| | | | | | Also document that it's a lower-level error kind. | ||||
| * | Rename RemoteIdMismatch to RelayIdMismatch. | Nick Mathewson | 2022-02-22 | 1 | -2/+2 |
| | | |||||
| * | Fold EK::Canceled into TransientFailure | Nick Mathewson | 2022-02-22 | 1 | -10/+0 |
| | | | | | Also add some TODO comments in circmgr for future work. | ||||
| * | Fold AlreadyClosed into BadApiUsage | Nick Mathewson | 2022-02-22 | 1 | -5/+0 |
| | | |||||
| * | Add TODOs for errorkinds we mean to fix later | Nick Mathewson | 2022-02-22 | 1 | -2/+13 |
| | | | | | | Per #348, These are the cases that we meant to fix down the road, but not in 0.1.0. | ||||
| * | Merge remote-tracking branch 'origin/mr/335' | Nick Mathewson | 2022-02-22 | 1 | -18/+39 |
| |\ | |||||
| | * | Edit tor-error comment to reflect shared ideas | Nick Mathewson | 2022-02-18 | 1 | -18/+37 |
| | | | |||||
| * | | Merge branch 'error-report' into 'main' | Nick Mathewson | 2022-02-22 | 2 | -0/+118 |
| |\ \ | | | | | | | | | | | | | Improve error messages from arti cli See merge request tpo/core/arti!331 | ||||
| | * | | tor_error::Report: add tests | Ian Jackson | 2022-02-22 | 1 | -0/+56 |
| | | | | |||||
| | * | | tor_error::Report: Add bound to struct | Ian Jackson | 2022-02-22 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | This is more typing in the definition but it produces much better error messages if you try to Report(foo).to_string() | ||||
| | * | | Move program name printing to report_and_exit | Ian Jackson | 2022-02-22 | 1 | -3/+8 |
| | | | | |||||
| | * | | Placate clippy on nightly, properly | Ian Jackson | 2022-02-18 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | I c&p this lint suppression but from a cli option printed by clippy, and I didn't notice the need to change the - to _. | ||||
| | * | | Placate clippy on nightly | Ian Jackson | 2022-02-18 | 1 | -0/+1 |
| | | | | |||||
| | * | | Placate rustfmt | Ian Jackson | 2022-02-18 | 1 | -4/+10 |
| | | | | | | | | | | | | | I think all of this diff is a strict disimprovement, but whatever. | ||||
| | * | | Placate clippy | Ian Jackson | 2022-02-18 | 1 | -1/+3 |
| | | | | |||||
| | * | | Add missing docs for report_and_exit | Ian Jackson | 2022-02-18 | 1 | -0/+3 |
| | | | | |||||
| | * | | Provide error reporter and use it in the arti binary | Ian Jackson | 2022-02-18 | 2 | -0/+43 |
| | |/ | |||||
| * / | Fix typos | Dimitris Apostolou | 2022-02-18 | 1 | -2/+2 |
| |/ | |||||
| * | spelling fix | Nick Mathewson | 2022-02-17 | 1 | -1/+1 |
| | | |||||
| * | Add #[display] annotations for remaining ErrorKinds. | Nick Mathewson | 2022-02-17 | 1 | -0/+2 |
| | | |||||
| * | Merge branch 'remaining-errors' | Nick Mathewson | 2022-02-17 | 1 | -16/+174 |
| |\ | |||||
| | * | Use TorConnectionFailed for failure to download directory. | Nick Mathewson | 2022-02-17 | 1 | -8/+0 |
| | | | |||||
| | * | Clarify state vs cache in ErrorKind | Nick Mathewson | 2022-02-17 | 1 | -4/+20 |
| | | | |||||
| | * | Correct ErrorKinds for some tor-dirclient errors. | Nick Mathewson | 2022-02-17 | 1 | -0/+8 |
| | | | |||||
| | * | Rename CircuitTimeout to TorNetworkTimeout. | Nick Mathewson | 2022-02-17 | 1 | -4/+5 |
| | | | |||||
| | * | Rename ExitTimeout to RemoteNetworkTimeout. | Nick Mathewson | 2022-02-17 | 1 | -1/+1 |
| | | | |||||
| | * | Tweak documentation on ErrorKind::Transient | Nick Mathewson | 2022-02-17 | 1 | -5/+4 |
| | | | |||||
| | * | tor-error: splitting/lumping guidelines | Ian Jackson | 2022-02-17 | 1 | -0/+32 |
| | | | |||||
| | * | ErrorKind::RemoteRefused: Expand on description, narrowing scope | Ian Jackson | 2022-02-17 | 1 | -0/+3 |
| | | | |||||
| | * | ErrorKind::Csnceled: Expand on description | Ian Jackson | 2022-02-17 | 1 | -0/+3 |
| | | | |||||
| | * | ErrorKind::CircuitTimeout: Expand on description | Ian Jackson | 2022-02-17 | 1 | -1/+2 |
| | | | |||||
| | * | ErrorKind::DirectoryExpired: Add possible deprecation notes | Ian Jackson | 2022-02-17 | 1 | -0/+6 |
| | | | |||||
