urlstd.error#
Exception classes raised by urlstd
- exception urlstd.error.HostParseError#
Bases:
URLParseError
Exception that raised when host parsing fails.
- exception urlstd.error.IDNAError(message: str, error_code: ErrorCode)#
Bases:
URLParseError
Exception that raised when IDNA processing fails.
- Parameters:
message – An error message.
error_code – icupy.icu.ErrorCode object.
- property error_code: ErrorCode#
The object of wrapper class for UErrorCode used in ICU C/C++ APIs. See icu::ErrorCode for more details.
- Type:
icupy.icu.ErrorCode
- exception urlstd.error.IPv4AddressParseError#
Bases:
HostParseError
Exception that raised when IPv4 address parsing fails.
- exception urlstd.error.IPv6AddressParseError#
Bases:
HostParseError
Exception that raised when IPv6 address parsing fails.
- exception urlstd.error.URLParseError#
Bases:
ValueError
Exception that raised when URL parsing fails.