mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-05-31 17:11:22 +00:00
merge std.Uri.ParseError and os/hostname error sets
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user