The Uri\WhatWg\UrlValidationErrorType enum
The possible validation errors defined in the WHATWG URL Standard.
Intro
The possible validation errors defined in the WHATWG URL Standard.
Enumsynopsis
Uri\WhatWgUrlValidationErrorTypeDomainToAsciiError during the process of converting the domain name to an ASCII string.DomainToUnicodeError during the process of converting the domain name to a Unicode string.DomainInvalidCodePointThe input's host contains a forbidden domain code point.HostInvalidCodePointAn opaque host (in a URL that is not special) contains a forbidden host code point.Ipv4EmptyPartAn IPv4 address ends with a U+002E (.).Ipv4TooManyPartsAn IPv4 address does not consist of exactly 4 parts.Ipv4NonNumericPartAn IPv4 address part is not numeric.Ipv4NonDecimalPartThe IPv4 address contains numbers expressed using hexadecimal or octal digits.Ipv4OutOfRangePartAn IPv4 address part exceeds 255.Ipv6UnclosedAn IPv6 address is missing the closing U+005D (]).Ipv6InvalidCompressionAn IPv6 address begins with improper compression.Ipv6TooManyPiecesAn IPv6 address contains more than 8 pieces.Ipv6MultipleCompressionAn IPv6 address is compressed in more than one spot.Ipv6InvalidCodePointAn IPv6 address contains a code point that is neither an ASCII hex digit nor a U+003A (:). Or it unexpectedly ends.Ipv6TooFewPiecesAn uncompressed IPv6 address contains fewer than 8 pieces.Ipv4InIpv6TooManyPiecesAn IPv6 address with IPv4 address syntax: the IPv6 address has more than 6 pieces.Ipv4InIpv6InvalidCodePointAn IPv6 address with IPv4 address syntax.Ipv4InIpv6OutOfRangePartAn IPv6 address with IPv4 address syntax: an IPv4 part exceeds 255.Ipv4InIpv6TooFewPartsAn IPv6 address with IPv4 address syntax: an IPv4 address contains too few parts.InvalidUrlUnitA code point is found that is not a URL unit.SpecialSchemeMissingFollowingSolidusThe input’s scheme is not followed by //.MissingSchemeNonRelativeUrlThe input is missing a scheme, because it does not begin with an ASCII alpha, and either no base URL was provided or the base URL cannot be used as a base URL because it has an opaque path.InvalidReverseSoldiusThe URL has a special scheme and it uses U+005C (\) instead of U+002F (/).InvalidCredentialsThe input includes credentials.HostMissingThe input has a special scheme, but does not contain a host.PortOutOfRangeThe input’s port is too big.PortInvalidThe input’s port is invalid.FileInvalidWindowsDriveLetterThe input is a relative-URL string that starts with a Windows drive letter and the base URL's scheme is file.FileInvalidWindowsDriveLetterHostA file: URL's host is a Windows drive letter.