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

Function newUserError

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

Source from the content-addressed store, hash-verified

583 return e.msg
584}
585func newUserError(msg string, f ...interface{}) error {
586 return &UserError{fmt.Sprintf(msg, f...), ""}
587}
588
589// LanguageError records an error with the doc string.
590type LanguageError struct {

Callers 1

parseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected