mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-09-05 19:08:17 +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