arti/crates/tor-error
Nick Mathewson 9e03643f65 dirmgr: implement HasKind for the easier variants 2022-02-16 15:22:21 -05:00
..
src dirmgr: implement HasKind for the easier variants 2022-02-16 15:22:21 -05: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