UnicodeSecurity.InvalidDomainError exception (UnicodeSecurity v0.1.0)

Copy Markdown View Source

Raised by domain comparison and key APIs when an original input fails hostname validity.

reason is a stable diagnostic code; the optional original byte offset and zero-based label index identify the selected earliest validity finding. The exception message is static and never incorporates untrusted input.