Lines Matching defs:error
6 use std::error;
15 /// An error that occurred while parsing a regular expression into an abstract
19 /// an AST is constructed without error for `\p{Quux}`, but `Quux` is not a
20 /// valid Unicode property name. That particular error is reported when
24 /// The kind of error.
26 /// The original pattern that the parser generated the error from. Every
27 /// span in an error is a valid range into this string.
29 /// The span of this error.
34 /// Return the type of this error.
39 /// The original pattern string in which this error occurred.
41 /// Every span reported by this error is reported in terms of this string.
46 /// Return the span at which this error occurred.
54 /// main error position set to the duplicate occurrence while its
67 /// The type of an error that occurred while building an AST.
75 /// this error to occur.
83 /// boundaries must be a single literal codepoint, but this error indicates
88 /// Note that this error variant is no longer used. Namely, a decimal
91 /// error, `RepetitionCountDecimalEmpty`.
109 /// The position of the original flag. The error position
115 /// The position of the original negation operator. The error position
126 /// error position itself points to the duplicate occurrence.
139 /// The span of this error corresponds to the unclosed parenthesis.
162 /// When octal support is disabled, this error is produced when an octal
166 /// When syntax similar to PCRE's look-around is used, this error is
170 /// error is used to improve the user experience.
181 impl error::Error for Error {
224 crate::error::Formatter::from(self).fmt(f)