tor-error

Crates.iotor-error
lib.rstor-error
version0.24.0
sourcesrc
created_at2022-03-01 14:08:00.787709
updated_at2024-10-31 14:04:53.467639
descriptionProvides the unified type-erased error type returned by many (esp. high-level) Tor APIs.
homepagehttps://gitlab.torproject.org/tpo/core/arti/-/wikis/home
repositoryhttps://gitlab.torproject.org/tpo/core/arti.git/
max_upload_size
id541553
size72,840
David Goulet (dgoulet-tor)

documentation

README

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 versioning1 guarantees: we might break them or remove them between patch versions.

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

License: MIT OR Apache-2.0

Footnotes

  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.

Commit count: 0

cargo fmt