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 starts.
ReadonlyInvalidRegex: "InvalidRegex"A regex the pattern language's dialect does not accept.
ReadonlyUnterminatedRegex: "UnterminatedRegex"A /regex/ without its closing slash.
ReadonlyUnterminatedString: "UnterminatedString"A string literal without its closing quote.
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.
ReadonlyUnterminatedHexString: "UnterminatedHexString"An h'…' literal without its closing quote.
ReadonlyInvalidDateFormat: "InvalidDateFormat"A date'…' body that is not a date, a range of dates, or a regex.
ReadonlyInvalidNumberFormat: "InvalidNumberFormat"A number literal dCBOR does not read; the lexer's number grammar leaves no such literal, so it is declared and never raised.
ReadonlyInvalidUr: "InvalidUr"A digest'ur:…' body the UR decoder rejects.
ReadonlyExpectedOpenParen: "ExpectedOpenParen"Declared for the reference's taxonomy; never raised.
ReadonlyExpectedCloseParen: "ExpectedCloseParen"The source ended inside a capture, a search(…) or a tagged(…).
ReadonlyExpectedCloseBracket: "ExpectedCloseBracket"The source ended inside […].
ReadonlyExpectedCloseBrace: "ExpectedCloseBrace"The source ended inside {…} after a key's value or a length.
ReadonlyExpectedColon: "ExpectedColon"The source ended after a map key.
ReadonlyExpectedPattern: "ExpectedPattern"Declared for the reference's taxonomy; never raised.
ReadonlyUnmatchedParentheses: "UnmatchedParentheses"Declared for the reference's taxonomy; never raised.
ReadonlyUnmatchedBraces: "UnmatchedBraces"Declared for the reference's taxonomy; never raised.
ReadonlyInvalidCaptureGroupName: "InvalidCaptureGroupName"Declared for the reference's taxonomy; never raised (@ without a name is UnrecognizedToken).
ReadonlyInvalidDigestPattern: "InvalidDigestPattern"A digest'…' body that is neither a UR, a regex nor a hex prefix.
ReadonlyUnterminatedDigestQuoted: "UnterminatedDigestQuoted"A digest'…' literal without its closing quote.
ReadonlyUnterminatedDateQuoted: "UnterminatedDateQuoted"A date'…' literal without its closing quote.
ReadonlyNestingTooDeep: "NestingTooDeep"Nesting deeper than ParseOptions.maxDepth, when a limit is set; this package's own option.
Why a pattern text was rejected.