MCPcopy
hub / github.com/urfave/cli / NewErrorWithFormat

Function NewErrorWithFormat

errors_test.go:165–167  ·  errors_test.go::NewErrorWithFormat
(m string)

Source from the content-addressed store, hash-verified

163}
164
165func NewErrorWithFormat(m string) *ErrorWithFormat {
166 return &ErrorWithFormat{error: errors.New(m)}
167}
168
169func (f *ErrorWithFormat) Format(s fmt.State, verb rune) {
170 fmt.Fprintf(s, "This the format: %v", f.error)

Calls

no outgoing calls

Tested by

no test coverage detected