feroxbuster/statistics/error.rs
1#[derive(Debug, Copy, Clone)]
2/// Enum variants used to inform the `StatCommand` protocol what `Stats` fields should be updated
3pub enum StatError {
4 /// Represents a timeout error
5 Timeout,
6
7 /// Represents a URL formatting error
8 UrlFormat,
9
10 /// Represents an error encountered during redirection
11 Redirection,
12
13 /// Represents an error encountered during connection
14 Connection,
15
16 /// Represents an error resulting from the client's request
17 Request,
18
19 /// Represents certificate-related errors (TLS/SSL)
20 Certificate,
21
22 /// Represents any other error not explicitly defined above
23 Other,
24}