24 releases (12 breaking)

0.23.0 Sep 30, 2024
0.21.0 Aug 1, 2024
0.20.0 Jun 27, 2024
0.6.1 Feb 5, 2024
0.1.0 Mar 1, 2022

#140 in Rust patterns

Download history 276/week @ 2024-07-09 854/week @ 2024-07-16 940/week @ 2024-07-23 1783/week @ 2024-07-30 1191/week @ 2024-08-06 981/week @ 2024-08-13 1625/week @ 2024-08-20 1425/week @ 2024-08-27 2097/week @ 2024-09-03 1232/week @ 2024-09-10 1293/week @ 2024-09-17 1867/week @ 2024-09-24 1478/week @ 2024-10-01 879/week @ 2024-10-08 989/week @ 2024-10-15 1238/week @ 2024-10-22

4,937 downloads per month
Used in 59 crates (35 directly)

MIT/Apache

91KB
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.9MB
~37K SLoC