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(Clone, Copy, Debug, Default, Deserialize, Eq, PartialEq, Serialize)]
8pub enum HttpUrlError {
9 /// Indicates that the provided URL is invalid.
10 InvalidUrl,
11 /// Unknown error
12 #[default]
13 Unknown,
14}