MCPcopy Create free account
hub / github.com/docopt/docopt.go / newLanguageError

Function newLanguageError

docopt.go:597–599  ·  view source on GitHub ↗
(msg string, f ...interface{})

Source from the content-addressed store, hash-verified

595 return e.msg
596}
597func newLanguageError(msg string, f ...interface{}) error {
598 return &LanguageError{fmt.Sprintf(msg, f...)}
599}
600
601var newError = fmt.Errorf
602

Callers 2

parseFunction · 0.85
formalUsageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected