better-url 0.12.0

A better URL crate.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! [`SetHostPortError`].

use thiserror::Error;

use crate::prelude::*;

/// Returned when failing to set the host + port.
#[derive(Debug, Error)]
pub enum SetHostPortError {
    /** [`SetHostError`]. */ #[error(transparent)] SetHostError(#[from] SetHostError),
    /** [`SetPortError`]. */ #[error(transparent)] SetPortError(#[from] SetPortError),
    /** [`CantBeEmpty`].  */ #[error(transparent)] CantBeEmpty (#[from] CantBeEmpty ),
}