merge std.Uri.ParseError and os/hostname error sets
parent
e4a175d24a
commit
73e5f7e5d6
|
|
@ -7,12 +7,9 @@ pub const HostnameParsingError = error{
|
|||
NoSpaceLeft,
|
||||
};
|
||||
|
||||
pub const UrlParsingError = error{
|
||||
pub const UrlParsingError = std.Uri.ParseError || error{
|
||||
HostnameIsNotMacAddress,
|
||||
InvalidFormat,
|
||||
InvalidPort,
|
||||
NoSchemeProvided,
|
||||
UnexpectedCharacter,
|
||||
};
|
||||
|
||||
fn isUriPathSeparator(c: u8) bool {
|
||||
|
|
|
|||
Loading…
Reference in New Issue