MCPcopy Index your code
hub / github.com/dnote/dnote / ErrorWrap

Function ErrorWrap

pkg/server/log/log.go:191–193  ·  view source on GitHub ↗

ErrorWrap logs an error message without additional fields. It annotates the given error's message with the given message

(err error, msg string)

Source from the content-addressed store, hash-verified

189// ErrorWrap logs an error message without additional fields. It annotates the given error's
190// message with the given message
191func ErrorWrap(err error, msg string) {
192 newEntry(Fields{}).ErrorWrap(err, msg)
193}

Callers 14

logErrorFunction · 0.92
CreateMethod · 0.92
PasswordResetMethod · 0.92
TokenAuthFunction · 0.92
GuestOnlyFunction · 0.92
StartWALCheckpointingFunction · 0.92
StartPeriodicVacuumFunction · 0.92
RenderMethod · 0.92
startCmdFunction · 0.92
userCreateCmdFunction · 0.92
userRemoveCmdFunction · 0.92
userResetPasswordCmdFunction · 0.92

Calls 2

newEntryFunction · 0.85
ErrorWrapMethod · 0.80

Tested by

no test coverage detected