MCPcopy Index your code
hub / github.com/conventionalcommit/commitlint / errInvalidArg

Function errInvalidArg

rule/rule.go:12–14  ·  view source on GitHub ↗
(ruleName string, err error)

Source from the content-addressed store, hash-verified

10)
11
12func errInvalidArg(ruleName string, err error) error {
13 return fmt.Errorf("%s: invalid argument: %v", ruleName, err)
14}
15
16func errNeedAtleastOneArg(ruleName, msg string) error {
17 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