better_url/errors/host_port.rs
1//! [`SetHostPortError`].
2
3use thiserror::Error;
4
5use crate::prelude::*;
6
7/// Returned when failing to set the host + port.
8#[derive(Debug, Error)]
9pub enum SetHostPortError {
10 /** [`SetHostError`]. */ #[error(transparent)] SetHostError(#[from] SetHostError),
11 /** [`SetPortError`]. */ #[error(transparent)] SetPortError(#[from] SetPortError),
12 /** [`CantBeEmpty`]. */ #[error(transparent)] CantBeEmpty (#[from] CantBeEmpty ),
13}