Enum polar_core::error::ValidationError [−][src]
pub enum ValidationError {
MissingRequiredRule {
rule: Rule,
},
InvalidRule {
rule: String,
msg: String,
},
InvalidRuleType {
rule_type: String,
msg: String,
},
UndefinedRule {
term: Term,
},
ResourceBlock {
term: Term,
msg: String,
},
SingletonVariable {
term: Term,
},
UnregisteredClass {
term: Term,
},
}
Variants
Fields of MissingRequiredRule
rule: Rule
Fields of UndefinedRule
term: Term
Term
Fields of ResourceBlock
Fields of SingletonVariable
term: Term
Term
Fields of UnregisteredClass
term: Term
Term
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for ValidationError
impl Send for ValidationError
impl Sync for ValidationError
impl Unpin for ValidationError
impl UnwindSafe for ValidationError
Blanket Implementations
Mutably borrows from an owned value. Read more