Skip to main content

Module err

Module err 

Source
Expand description

Declare tor client specific errors.

Re-exportsยง

use std::fmt; ๐Ÿ”’
use std::fmt::Display; ๐Ÿ”’
use std::sync::Arc; ๐Ÿ”’
use futures::task::SpawnError; ๐Ÿ”’
use safelog::DisplayRedacted as _; ๐Ÿ”’
use safelog::Sensitive; ๐Ÿ”’
use thiserror::Error; ๐Ÿ”’
use tor_circmgr::TargetPorts; ๐Ÿ”’
use tor_error::ErrorKind; ๐Ÿ”’
use tor_error::HasKind; ๐Ÿ”’
use crate::TorAddrError; ๐Ÿ”’
use tor_hscrypto::pk::HsId; ๐Ÿ”’
pub use hint::HintableError;

Modulesยง

hint ๐Ÿ”’
Facility for error-hinting

Macrosยง

pub_if_error_detail ๐Ÿ”’
Declare an enum as pub if error_details is enabled, and as pub(crate) otherwise.

Structsยง

Error
Main high-level error type for the Arti Tor client
ErrorHint
Verbose information about an error, meant to provide detail or justification for user-facing errors, rather than the normal short message for developer-facing errors.

Enumsยง

ErrorDetail
Represents errors that can occur while doing Tor operations.
ErrorHintInner ๐Ÿ”’
An inner enumeration, describing different kinds of error hint that we know how to give.