26 releases (14 breaking)

new 0.25.0 Dec 2, 2024
0.24.0 Oct 31, 2024
0.23.0 Sep 30, 2024
0.20.0 Jun 27, 2024
0.1.0 Mar 1, 2022

#139 in Rust patterns

Download history 1158/week @ 2024-08-17 1606/week @ 2024-08-24 2024/week @ 2024-08-31 1502/week @ 2024-09-07 1312/week @ 2024-09-14 1417/week @ 2024-09-21 1677/week @ 2024-09-28 1134/week @ 2024-10-05 1037/week @ 2024-10-12 1174/week @ 2024-10-19 1274/week @ 2024-10-26 2246/week @ 2024-11-02 1232/week @ 2024-11-09 2470/week @ 2024-11-16 1804/week @ 2024-11-23 2386/week @ 2024-11-30

8,055 downloads per month
Used in 68 crates (39 directly)

MIT/Apache

90KB
1K SLoC

tor-error

Support for error handling in Tor and Arti

Primarily, this crate provides the ErrorKind enum, and associated HasKind trait.

There is also some other miscellany, supporting error handling in crates higher up the dependency stack.

Features

backtrace -- Enable backtraces in internal errors. (On by default.)

Experimental and unstable features

Note that the APIs enabled by these features are NOT covered by semantic versioning[^1] guarantees: we might break them or remove them between patch versions.

  • experimental-api: Add additional non-stable APIs to our public interfaces.

[^1]: Remember, semantic versioning is what makes various cargo features work reliably. To be explicit: if you want cargo update to only make safe changes, then you cannot enable these features.

License: MIT OR Apache-2.0


lib.rs:

Dependencies

~1–1.8MB
~36K SLoC