pub enum ManagerError {
ProxyError(ProxyError),
SourceError(SourceError),
JudgementError(JudgementError),
RequestorError(RequestorError),
SleuthError(SleuthError),
InvalidProxyId(String),
InvalidSourceId(String),
}Expand description
Errors that can occur in the proxy manager
Variants§
ProxyError(ProxyError)
Encapsulates an underlying proxy validation error.
This occurs when proxy objects fail validation checks.
SourceError(SourceError)
Encapsulates an underlying source error.
This occurs when operations related to proxy sources fail.
JudgementError(JudgementError)
Encapsulates an underlying judgment error.
This occurs when proxy testing and validation operations fail.
RequestorError(RequestorError)
Encapsulates an underlying requestor error.
This occurs when HTTP requests made during proxy management fail.
SleuthError(SleuthError)
Encapsulates an underlying sleuth error.
This occurs when IP investigation operations fail.
InvalidProxyId(String)
Indicates that a proxy ID is invalid or not found in the system.
This typically occurs when operations reference proxies that don’t exist.
InvalidSourceId(String)
Indicates that a source ID is invalid or not found in the system.
This typically occurs when operations reference sources that don’t exist.
Trait Implementations§
Source§impl Debug for ManagerError
impl Debug for ManagerError
Source§impl Display for ManagerError
impl Display for ManagerError
Source§impl Error for ManagerError
impl Error for ManagerError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()