Enum ast_grep_config::RuleConfigError
source · pub enum RuleConfigError {
Yaml(YamlError),
Rule(RuleSerializeError),
Fixer(PatternError),
Constraints(SerializeConstraintsError),
}Variants§
Yaml(YamlError)
Rule(RuleSerializeError)
Fixer(PatternError)
Constraints(SerializeConstraintsError)
Trait Implementations§
source§impl Debug for RuleConfigError
impl Debug for RuleConfigError
source§impl Display for RuleConfigError
impl Display for RuleConfigError
source§impl Error for RuleConfigError
impl Error for RuleConfigError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<Error> for RuleConfigError
impl From<Error> for RuleConfigError
source§impl From<PatternError> for RuleConfigError
impl From<PatternError> for RuleConfigError
source§fn from(source: PatternError) -> Self
fn from(source: PatternError) -> Self
Converts to this type from the input type.