tor-config: Introduce ReconfigureError::Bug
Reconfigurations might fail due to internal errors.
This commit is contained in:
parent
d407ef93ee
commit
fbe80fd417
|
@ -90,6 +90,10 @@ pub enum ReconfigureError {
|
|||
/// The field (or fields) that we tried to change.
|
||||
field: String,
|
||||
},
|
||||
|
||||
/// There was a programming error somewhere in our code, or the calling code.
|
||||
#[error("Programming error")]
|
||||
Bug(#[from] tor_error::Bug),
|
||||
}
|
||||
|
||||
impl HasKind for ReconfigureError {
|
||||
|
|
Loading…
Reference in New Issue