Documentation
¶
Index ¶
Constants ¶
View Source
const ( // RetryError occurs when checks fail after exhausting all retry attempts. RetryError = "RetryError" // LowConfidenceError shows a low-confidence result. LowConfidenceError = "LowConfidenceError" // UnknownError for all error types not handled. UnknownError = "UnknownError" )
Variables ¶
View Source
var ( ErrScorecardInternal = errors.New("internal error") ErrRepoUnreachable = errors.New("repo unreachable") )
UPGRADEv2: delete other files in folder. nolint
Functions ¶
func Create ¶
Create a public error using any of the errors listed above. For examples, see errors/errors.md.
func GetErrorName ¶
func MakeLowConfidenceError ¶
func MakeRetryError ¶
Types ¶
type ErrLowConfidence ¶
type ErrLowConfidence struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.