http_type/http_url/
enum.rs

1use crate::*;
2
3/// Represents different types of errors that can occur when handling HTTP URLs.
4///
5/// This enum defines various error types specifically related to parsing or
6/// otherwise processing HTTP URLs.
7#[derive(Debug, Clone, Copy, PartialEq, Eq, Serialize, Deserialize)]
8pub enum HttpUrlError {
9    /// Indicates that the provided URL is invalid.
10    InvalidUrl,
11    /// Unknown error
12    Unknown,
13}