Skip to main content

warning

Function warning 

Source
pub fn warning(
    path: impl AsRef<str>,
    message: impl Into<String>,
) -> ValidationIssue
Expand description

Creates a WARNING level issue.

Use this for potential problems that should be fixed but do not strictly prevent the operation from succeeding (unless strict mode is enabled).