Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version = "dev" Commit = "none" BuildDate = "unknown" )
Functions ¶
Types ¶
type ComplianceError ¶ added in v0.1.65
ComplianceError is returned when analysis completes successfully but the measured compliance score falls below the required threshold.
It is distinct from a generic runtime error so that callers (e.g. Execute) can map it to a dedicated exit code:
0 – analysis passed (compliance ≥ threshold) 1 – compliance failure (compliance < threshold) 2 – runtime / configuration error
func (*ComplianceError) Error ¶ added in v0.1.65
func (e *ComplianceError) Error() string
Click to show internal directories.
Click to hide internal directories.