25 releases (13 breaking)

0.24.0 Oct 31, 2024
0.22.0 Sep 3, 2024
0.20.0 Jun 27, 2024
0.6.1 Feb 5, 2024
0.1.0 Mar 1, 2022

#195 in Rust patterns

Download history 1798/week @ 2024-07-31 1139/week @ 2024-08-07 1190/week @ 2024-08-14 1558/week @ 2024-08-21 1615/week @ 2024-08-28 1916/week @ 2024-09-04 1131/week @ 2024-09-11 1351/week @ 2024-09-18 1976/week @ 2024-09-25 1282/week @ 2024-10-02 957/week @ 2024-10-09 1071/week @ 2024-10-16 1148/week @ 2024-10-23 2359/week @ 2024-10-30 1111/week @ 2024-11-06 1549/week @ 2024-11-13

6,431 downloads per month
Used in 67 crates (38 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