add

fun add(severity: ValidationSeverity, message: String)

Adds a finding with the specified severity.