Skip to main content

issue

Function issue 

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

Construct a ValidationIssue with a fixed level, path, and message.

This is the low-level constructor. Prefer using error, warning, or info for better readability.