Documentation
¶
Overview ¶
Package severity provides severity level constants and utilities for issues reported by validator and converter packages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Severity ¶
type Severity int
Severity indicates the severity level of an issue during validation or conversion.
const ( // SeverityError indicates a spec violation that makes the document invalid (validation only) SeverityError Severity = iota // SeverityWarning indicates lossy conversions, best-practice violations, or recommendations SeverityWarning // SeverityInfo indicates informational messages about conversion choices SeverityInfo // SeverityCritical indicates features that cannot be converted (data loss) SeverityCritical )
Click to show internal directories.
Click to hide internal directories.