aboutsummaryrefslogtreecommitdiff
path: root/crates/tor-chanmgr/src/err.rs
Commit message (Collapse)AuthorAgeFilesLines
* tor-proto: Split IoErr based on when it occursNick Mathewson2022-02-231-1/+1
| | | | | | | We want to distinguish handshake failures from errors later on in the channel's lifetime. Closes #359.
* Rename TorConnectionFailed to TorAccessFailedNick Mathewson2022-02-221-2/+2
|
* tor-chanmgr: use Bug types.Nick Mathewson2022-02-161-4/+4
|
* Implement HasKind for tor-chanmgr::ErrorNick Mathewson2022-02-161-2/+6
| | | | (There will be a folowup to work on internal errors here.)
* Make SpawnError wrappers contain a 'spawning' stringNick Mathewson2022-02-041-9/+18
| | | | | (By our convention, these errors should say what we were trying to spawn when the error occurred.)
* channel errors: Include what we were doingIan Jackson2022-02-041-5/+3
|
* errors: Add some TODOs as per discussion commentsIan Jackson2022-02-041-0/+5
|
* tor-chanmgr::Error: impl HasKindIan Jackson2022-02-041-0/+13
|
* tor-chanmgr: Handle IO errora in the new styleIan Jackson2022-02-041-9/+11
| | | | | Two ? in the tests become expects, which will do. That avoids having to construct a proper error with context here.
* spawn errors: Fix arti-client, tor-chanmgr, tor-circmgrIan Jackson2022-02-041-3/+9
| | | | | | | Provide an enum variant to contain the SpawnError and a From impl. We use `#[from]` here because it doesn't really make sense to attach any context, as it's not likely to be very relevant.
* tor-chanmgr: remove PendingChanError as unnecessary.Nick Mathewson2021-10-281-19/+0
|
* Move all crates into a `crates` subdirectory.Nick Mathewson2021-08-271-0/+76
This will cause some pain for now, but now is really the best time to do this kind of thing.