Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ValidationFailedError ¶
type ValidationFailedError struct {
// contains filtered or unexported fields
}
ValidationFailedError represents error returned when vulnerabilities from the report exceed an allowed threshold
func NewValidationFailedError ¶
func NewValidationFailedError(format string, a ...any) ValidationFailedError
NewValidationFailedError helper func to create error when validation failed
func (ValidationFailedError) Error ¶
func (e ValidationFailedError) Error() string
Click to show internal directories.
Click to hide internal directories.