ConstReadonlyEmptyInput: "EmptyInput"The source is empty.
ReadonlyUnexpectedEndOfInput: "UnexpectedEndOfInput"The source ended inside a pattern.
ReadonlyExtraData: "ExtraData"Text follows the pattern.
ReadonlyUnexpectedToken: "UnexpectedToken"A token that cannot start or continue a pattern here.
ReadonlyUnrecognizedToken: "UnrecognizedToken"Text no token matches.
ReadonlyInvalidRegex: "InvalidRegex"A regex the pattern language's dialect does not accept.
ReadonlyUnterminatedRegex: "UnterminatedRegex"A regex or quoted literal without its closing delimiter.
ReadonlyInvalidRange: "InvalidRange"A {n,m} range that is not one, or with n above m.
ReadonlyInvalidHexString: "InvalidHexString"An h'…' or digest(…) body that is not even-length hex of at most 32 bytes.
ReadonlyInvalidDateFormat: "InvalidDateFormat"A date'…' body that is not a date, a range of dates, or a regex.
ReadonlyInvalidNumberFormat: "InvalidNumberFormat"A number literal outside the 64-bit integer range.
ReadonlyInvalidUr: "InvalidUr"A digest(ur:…) body the UR decoder rejects.
ReadonlyExpectedOpenParen: "ExpectedOpenParen"An opening parenthesis was required.
ReadonlyExpectedCloseParen: "ExpectedCloseParen"A closing parenthesis was required.
ReadonlyExpectedOpenBracket: "ExpectedOpenBracket"An opening bracket was required.
ReadonlyExpectedCloseBracket: "ExpectedCloseBracket"A closing bracket was required.
ReadonlyExpectedPattern: "ExpectedPattern"A pattern was required after an operator.
ReadonlyUnmatchedParentheses: "UnmatchedParentheses"Parentheses that do not pair.
ReadonlyUnmatchedBraces: "UnmatchedBraces"Braces that do not pair.
ReadonlyInvalidCaptureGroupName: "InvalidCaptureGroupName"A capture name that is not an identifier.
ReadonlyInvalidPattern: "InvalidPattern"A cbor(…) body that is neither a value, a UR nor a dCBOR pattern.
ReadonlyNestingTooDeep: "NestingTooDeep"Nesting deeper than ParseOptions.maxDepth; this package's own limit.
Why a pattern text was rejected.