| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | 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 | 1 | -0/+3 | |
| |\ \ | | | | | | | | | | | | | Improve error messages from arti cli See merge request tpo/core/arti!331 | |||||
| | * | | Provide error reporter and use it in the arti binary | Ian Jackson | 2022-02-18 | 1 | -0/+3 | |
| | |/ | ||||||
| * / | 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 | |
| | | | ||||||
| | * | tor_error: a couple of spelling/formatting issues | Nick Mathewson | 2022-02-16 | 1 | -4/+4 | |
| | | | ||||||
| | * | Finally remove ErrorKind::TODO. | Nick Mathewson | 2022-02-16 | 1 | -8/+0 | |
| | | | | | | | | | Closes #322. | |||||
| | * | arti_client: provide Kinds for all errors. | Nick Mathewson | 2022-02-16 | 1 | -0/+16 | |
| | | | ||||||
| | * | dirmgr: implement HasKind for the easier variants | Nick Mathewson | 2022-02-16 | 1 | -1/+31 | |
| | | | ||||||
| | * | circmgr: Add a Kind for speculative guard failure. | Nick Mathewson | 2022-02-16 | 1 | -0/+12 | |
| | | | | | | | | | | | | | | | | | | | | | These errors should almost never be seen by the user; we should instead retry the circuit. But they _can_ be seen by the use if selecting a guard takes too long, or too many attempts. (Therefore, they aren't true "internal" errors.) I suspect that we might not want to keep this TransientFailure kind, but I'm not sure what else to do here for now. | |||||
| | * | Add kinds for *most* circmgr errors. | Nick Mathewson | 2022-02-16 | 1 | -0/+47 | |
| | | | | | | | | | There are a couple of tricky ones I'll do separately. | |||||
| * | | Fix typos | Dimitris Apostolou | 2022-02-17 | 1 | -3/+3 | |
| |/ | ||||||
| * | Make tor-proto::Error implement HasKind. | Nick Mathewson | 2022-02-15 | 1 | -1/+67 | |
| | | | | | | | This took some refactoring, and gave an opportunity to notice a few error variants that weren't being used, or didn't mean what they said on the tin. | |||||
| * | tor-cell: provide HasKind. | Nick Mathewson | 2022-02-15 | 1 | -1/+9 | |
| | | | | | | | | | | Additionally, refactor the IoError out of tor_cell::Error: nothing in TorCell created this; it was only used by tor_proto. This required refactoring in tor_proto to use a new error type. Here I decided to use a new CodecError for now, though we may refactor that away soon too. | |||||
| * | BadApiUsage: change Display impl capitalisation | Ian Jackson | 2022-02-15 | 1 | -1/+1 | |
| | | | | | Now it maches the others | |||||
| * | Rename BadApiUsage from BadAPIUsage | Ian Jackson | 2022-02-15 | 1 | -1/+1 | |
| | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/310#note_2777519 mutatis mutandi. And, fix a leftover instance with an old idea of what this was called. | |||||
| * | Make Bug from InternalError, add bad_api_usage! and into_bad_api_usage! | Ian Jackson | 2022-02-15 | 1 | -0/+3 | |
| | | | | | Including supporting machinery, new kind field, etc. | |||||
| * | New name and semantics for BadAPIUsage (was BadArgument) | Ian Jackson | 2022-02-15 | 1 | -3/+10 | |
| | | ||||||
| * | Merge branch 'warn_not_deny' into 'main' | eta | 2022-02-14 | 1 | -1/+1 | |
| |\ | | | | | | | | | | | | | Change deny(clippy::all) to warn(clippy::all). Closes #338 See merge request tpo/core/arti!306 | |||||
| | * | Change deny(clippy::all) to warn(clippy::all). | Nick Mathewson | 2022-02-14 | 1 | -1/+1 | |
| | | | | | | | | | Closes #338. | |||||
| * | | Merge branch 'error-kind-protocol' into 'main' | Ian Jackson | 2022-02-14 | 1 | -5/+18 | |
| |\ \ | | | | | | | | | | | | | Split up ErrorKind::ProtocolViolation See merge request tpo/core/arti!312 | |||||
| | * | | Split up ErrorKind::ProtocolViolation | Ian Jackson | 2022-02-14 | 1 | -5/+18 | |
| | |/ | ||||||
| * | | Merge branch 'error-kind-notimp' into 'main' | Ian Jackson | 2022-02-14 | 1 | -7/+24 | |
| |\ \ | | | | | | | | | | | | | Split up ErrorKind::NoSupport See merge request tpo/core/arti!311 | |||||
| | * | | Split up ErrorKind::NoSupport | Ian Jackson | 2022-02-14 | 1 | -7/+24 | |
| | |/ | ||||||
| * / | Clarify ErrorKind::InvalidConfigTransition | Ian Jackson | 2022-02-14 | 1 | -0/+3 | |
| |/ | ||||||
| * | Merge branch 'eta/unbootstrapped-clients' into 'main' | Nick Mathewson | 2022-02-11 | 1 | -0/+4 | |
| |\ | | | | | | | | | | | | | Allow creating unbootstrapped `TorClient`s (and `DirMgr`s) Closes #293 See merge request tpo/core/arti!298 | |||||
| | * | Allow creating unbootstrapped `TorClient`s (and `DirMgr`s) | eta | 2022-02-11 | 1 | -0/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit changes how the `TorClient` type works, enabling it to be constructed synchronously without initiating the bootstrapping process. Daemon tasks are still started on construction (although some of them won't do anything if the client isn't bootstrapped). The old bootstrap() methods are now reimplemented in terms of the new create_unbootstrapped() and bootstrap_existing() methods. This required refactoring how the `DirMgr` works to enable the same sort of thing there. closes #293 | |||||
| * | | socksproto: Simplify Truncated handling | Nick Mathewson | 2022-02-11 | 1 | -0/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactor the Error type to remove the yucky internal hidden Truncated variant. Instead, there's now an embedded tor_bytes::Error value. If that tor_bytes::Error is Truncated, we bubble it up when we convert our handshake result to the nested error struct. Thus there is still (sadly) a variant of tor_socksproto::Error that shouldn't be exposed to user code. But refactoring every inner method under handshake.rs seemed like a bad idea: once we're using Result<Result<..>>, the ? operator no longer helps us much. | |||||
| * | | Move the Truncated error into tor-errors. | Nick Mathewson | 2022-02-11 | 1 | -0/+3 | |
| | | | ||||||
