Error thrown when a domain hostname fails validation.
This includes rejection of IP addresses, localhost, .local domains, paths, and ports. This error is public and may be caught by application code.
Creates a new DomainValidationError instance.
Optional
A descriptive error message
Error thrown when a domain hostname fails validation.
This includes rejection of IP addresses, localhost, .local domains, paths, and ports. This error is public and may be caught by application code.