arti/crates/tor-error
Nick Mathewson 7885db406a Merge branch 'eta/unbootstrapped-clients' into 'main'
Allow creating unbootstrapped `TorClient`s (and `DirMgr`s)

Closes #293

See merge request tpo/core/arti!298
2022-02-11 17:43:46 +00:00
..
src Merge branch 'eta/unbootstrapped-clients' into 'main' 2022-02-11 17:43:46 +00:00
Cargo.toml Require backtrace 0.3.8. 2022-02-04 13:52:46 -05:00
README.md tor-error: Introduce InternalError as a type and a kind 2022-02-04 14:42:37 +00:00

README.md

tor-error

tor-error: Support for error handling in Tor and Ari

Overview

This crate is part of Arti, a project to implement Tor in Rust.

Primarily, this crate provides the [tor_error::ErrorKind] enum, which can be used by an application embedding the Arti/Tor code to categorise errors so as to respond to them.

You probably don't want to use this separately from the tor-* and arti-* crates.

Compile-time features

  • backtrace: Enables the capturing stack backtraces in internal errors, (via a dependency on the backtrace crate). Enabled by default.

License: MIT OR Apache-2.0