pub enum ErrorCode {
Show 38 variants
P001,
P002,
P003,
P004,
P005,
P006,
P007,
P008,
P009,
P010,
U001,
U002,
U003,
U004,
U005,
U006,
U007,
L001,
L002,
L003,
L004,
L005,
L006,
L007,
L008,
I001,
I002,
I003,
I004,
I005,
C001,
C002,
C003,
E001,
E002,
E003,
E004,
X001,
}Expand description
One variant per catalogue entry, one-to-one with docs/07.
Variants§
P001
Syntax error in the pattern for the chosen dialect
P002
Unknown dialect name
P003
Flag not valid for the dialect, or conflicting flags
P004
Invalid escape sequence for the dialect
P005
Invalid quantifier (nothing to repeat, reversed bounds, bound out of range)
P006
Invalid character class (empty or reversed range, unknown class name)
P007
Unbalanced group or class
P008
Unknown Unicode property or script for the pinned Unicode version
P009
Invalid group name or duplicate name where the dialect forbids it
P010
Invalid /body/flags literal
U001
Backreference (language is not regular)
U002
Recursion or subroutine call
U003
Conditional group
U004
Atomic group or possessive quantifier (changes matching semantics, not only the language)
U005
Lookaround form outside the restrictions
U006
Callout or embedded code
U007
Dialect feature recognised but not yet supported
L001
State limit reached
L002
Time limit reached
L003
Memory limit reached
L004
Repetition expansion limit reached
L005
Pattern too long
L006
Nesting too deep
L007
Enumeration limit reached (witness or difference synthesis)
L008
Synthesised pattern size cap reached
I001
File not found or unreadable
I002
Input is not valid UTF-8 where text is required
I003
Not a git repository or unknown revision
I004
Reference engine required but unavailable
I005
Unknown source language for extraction
C001
Malformed configuration file
C002
Ignore entry without a reason
C003
Unknown option or value in configuration
E001
Certificate rejected by the independent checker
E002
Counterexample rejected by the independent matcher
E003
Reference engine disagrees with the verdict
E004
Certificate malformed or of an unknown version
X001
Internal invariant violated