Exception in strict mode when the label violates constraints.validateUnicodeLabel
Validate a Unicode label under IDNA options.
In non-strict mode this is a no-op; in strict mode it enforces additional constraints.
Parameters
lab | Label to validate. |
opt | IDNA options. |