Skip to main content

Module err

Module err 

Source
Expand description

Declare an error type for the tor-dirmgr crate.

Re-exportsยง

use std::error::Error as StdError; ๐Ÿ”’
use std::sync::Arc; ๐Ÿ”’
use crate::DocSource; ๐Ÿ”’
use fs_mistrust::anon_home::PathExt as _; ๐Ÿ”’
use futures::task::SpawnError; ๐Ÿ”’
use thiserror::Error; ๐Ÿ”’
use tor_error::ErrorKind; ๐Ÿ”’
use tor_error::HasKind; ๐Ÿ”’
use tor_persist::FsMistrustErrorExt as _; ๐Ÿ”’

Enumsยง

BootstrapAction ๐Ÿ”’
The effect that a given error has on our bootstrapping process
Error
An error originated by the directory manager code
ReadOnlyStorageError
An error coming from a read-only store.

Functionsยง

sqlite_error_kind ๐Ÿ”’
Convert a sqlite error code into a real ErrorKind.