MCPcopy
hub / github.com/git-lfs/git-lfs / New

Function New

errors/errors.go:61–63  ·  view source on GitHub ↗

New returns an error with the supplied message. New also records the stack trace at thepoint it was called.

(message string)

Source from the content-addressed store, hash-verified

59// New returns an error with the supplied message. New also records the stack
60// trace at thepoint it was called.
61func New(message string) error {
62 return errors.New(message)
63}
64
65// Errorf formats according to a format specifier and returns the string
66// as a value that satisfies error.

Callers 15

VerifyFileHashFunction · 0.92
fillFileFunction · 0.92
CheckCloneFileSupportedFunction · 0.92
CheckCloneFileSupportedFunction · 0.92
dir_walker.goFile · 0.92
walkMethod · 0.92
SaveMethod · 0.92
ParseBytesFunction · 0.92

Calls

no outgoing calls

Tested by 8

fillFileFunction · 0.74
ApproveMethod · 0.74
RejectMethod · 0.74
ResolveMethod · 0.74