pub fn error_with_path(
constraint: &'static str,
message: impl Into<String>,
location: Option<SourceLocation>,
element_path: impl Into<String>,
) -> ValidationErrorExpand description
Create a validation error with element path information