pub enum Error {
Show 20 variants
Config(String),
Proxy(String),
Scanner(String),
Detection(String),
Plugin(String),
Api(String),
Network(String),
Tls(String),
Target(String),
Payload(String),
Pattern(String),
RateLimit(String),
Threading(String),
Database(String),
Serialization(String),
Io(Error),
Json(Error),
Toml(Error),
Custom {
context: String,
message: String,
},
Other(String),
}Expand description
Historical shared error variants retained for compatibility.
Variants§
Config(String)
Configuration validation or loading error
Proxy(String)
Proxy/MITM operation failed
Scanner(String)
Scanner execution failed
Detection(String)
Vulnerability detection or analysis failed
Plugin(String)
Plugin loading or execution failed
Api(String)
API endpoint or communication error
Network(String)
Network operation failed
Tls(String)
TLS/Certificate operation failed
Target(String)
Target URL parsing or validation failed
Payload(String)
Payload generation or encoding failed
Pattern(String)
Pattern matching or analysis failed
RateLimit(String)
Rate limiting or throttling error
Threading(String)
Thread pool or async operation error
Database(String)
Database or persistence error
Serialization(String)
Serialization/Deserialization error
Io(Error)
IO operation failed (transparent source chain)
Json(Error)
JSON serialization failed (transparent source chain)
Toml(Error)
TOML serialization failed (transparent source chain)
Custom
Custom error with context
Other(String)
Generic error (fallback)
Implementations§
Source§impl Error
impl Error
Trait Implementations§
Source§impl Error for Error
impl Error for Error
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()