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

Function FullError

commands/commands.go:238–240  ·  view source on GitHub ↗

FullError prints either a full stack trace for fatal errors, or just the error message.

(err error)

Source from the content-addressed store, hash-verified

236// FullError prints either a full stack trace for fatal errors, or just the
237// error message.
238func FullError(err error) {
239 errorWith(err, LoggedError, Error)
240}
241
242func errorWith(err error, fatalErrFn func(error, string, ...interface{}), errFn func(string, ...interface{})) {
243 if errors.IsFatalError(err) {

Callers 5

ReportErrorsMethod · 0.85
newSingleCheckoutFunction · 0.85
RunMethod · 0.85
fetchFunction · 0.85
pullFunction · 0.85

Calls 1

errorWithFunction · 0.85

Tested by

no test coverage detected