Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrScorecardInternal indicates a runtime error in Scorecard code. ErrScorecardInternal = errors.New("internal error") // ErrRepoUnreachable indicates Scorecard is unable to establish connection with the repository. ErrRepoUnreachable = errors.New("repo unreachable") // ErrorUnsupportedHost indicates the repo's host is unsupported. ErrorUnsupportedHost = errors.New("unsupported host") // ErrorInvalidURL indicates the repo's full URL was not passed. ErrorInvalidURL = errors.New("invalid repo flag") // ErrorShellParsing indicates there was an error when parsing shell code. ErrorShellParsing = errors.New("error parsing shell code") // ErrorUnsupportedCheck indicates check cannot be run for given request. ErrorUnsupportedCheck = errors.New("check is not supported for this request") // ErrorCheckRuntime indicates an individual check had a runtime error. ErrorCheckRuntime = errors.New("check runtime error") )
Functions ¶
func CreateInternal ¶
CreateInternal creates internal error, not using any of the errors listed in public.go.
func WithMessage ¶
WithMessage wraps any of the errors listed above. For examples, see errors/errors.md.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.