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

Struct ErrorWithFormat

errors_test.go:161–163  ·  view source on GitHub ↗

make a stub to not import pkg/errors

Source from the content-addressed store, hash-verified

159
160// make a stub to not import pkg/errors
161type ErrorWithFormat struct {
162 error
163}
164
165func NewErrorWithFormat(m string) *ErrorWithFormat {
166 return &ErrorWithFormat{error: errors.New(m)}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected