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") // ErrUnsupportedHost indicates the repo's host is unsupported. ErrUnsupportedHost = errors.New("unsupported host") // ErrInvalidURL indicates the repo's full URL was not passed. ErrInvalidURL = errors.New("invalid repo flag") // ErrShellParsing indicates there was an error when parsing shell code. ErrShellParsing = errors.New("error parsing shell code") // ErrJobOSParsing indicates there was an error when detecting a job's operating system. ErrJobOSParsing = errors.New("error parsing job operating system") // ErrUnsupportedCheck indicates check cannot be run for given request. ErrUnsupportedCheck = errors.New("check is not supported for this request") // ErrCheckRuntime indicates an individual check had a runtime error. ErrCheckRuntime = 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.