MCPcopy Create free account
hub / github.com/gogs/gogs / NewError

Function NewError

internal/osutil/error.go:21–23  ·  view source on GitHub ↗

NewError wraps given error.

(err error)

Source from the content-addressed store, hash-verified

19
20// NewError wraps given error.
21func NewError(err error) error {
22 return Error{error: err}
23}

Callers 3

SettingsGitHooksEditFunction · 0.92
SettingsGitHooksEditPostFunction · 0.92
TestError_NotFoundFunction · 0.70

Calls

no outgoing calls

Tested by 1

TestError_NotFoundFunction · 0.56