StringPrepParseExceptionError Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Identifies the validation or size error reported by a string-preparation parse exception.
public enum StringPrepParseExceptionError
type StringPrepParseExceptionError =
- Inheritance
-
StringPrepParseExceptionError
Fields
| Name | Value | Description |
|---|---|---|
| InvalidCharFound | 0 | Identifies a non-ASCII character in the basic Punycode segment or an invalid encoded digit. |
| IllegalCharFound | 1 | Identifies malformed Punycode input, unpaired surrogates, or arithmetic or code-point overflow during Punycode processing. |
| ProhibitedError | 2 | Identifies a character prohibited by the selected string-preparation profile. |
| UnassignedError | 3 | Identifies an unassigned code point rejected because processing of unassigned characters was not enabled. |
| CheckBidiError | 4 | Identifies forbidden left-to-right and right-to-left combinations or invalid right-to-left string boundaries. |
| Std3AsciiRulesError | 5 | Identifies a label that violates the enabled STD3 ASCII restrictions. |
| AcePrefixError | 6 | Identifies a prepared non-ASCII label that improperly starts with |
| VerificationError | 7 | Identifies a round-trip mismatch after a decoded IDNA label is converted back to ASCII. |
| LabelTooLongError | 8 | Identifies a ToASCII result label exceeding the 63-byte limit. |
| BufferOverflowError | 9 | Identifies insufficient output capacity for a Punycode result. |
| ZeroLengthLabel | 10 | Identifies an empty label where legacy IDNA processing requires a nonempty label. |
| DomainNameTooLongError | 11 | Identifies a legacy IDNA result longer than 255 UTF-16 code units. |
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.