MCPcopy Create free account
hub / github.com/conventionalcommit/commitlint / errInvalidArg

Function errInvalidArg

lint/rule/rule.go:13–15  ·  view source on GitHub ↗
(ruleName string, err error)

Source from the content-addressed store, hash-verified

11)
12
13func errInvalidArg(ruleName string, err error) error {
14 return fmt.Errorf("%s: invalid argument: %v", ruleName, err)
15}
16
17func errNeedAtleastOneArg(ruleName, msg string) error {
18 return fmt.Errorf("%s: need at least one argument for %s", ruleName, msg)

Callers 9

applyCaseArgFunction · 0.85
applyStringArgFunction · 0.85
ApplyMethod · 0.85
ApplyMethod · 0.85
processParamFunction · 0.85
applyFullStopArgFunction · 0.85
ApplyMethod · 0.85
applyIntArgFunction · 0.85
ApplyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected