MCPcopy
hub / github.com/mattermost/mattermost / Wrap

Method Wrap

server/channels/store/errors.go:116–119  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

114}
115
116func (e *ErrNotFound) Wrap(err error) *ErrNotFound {
117 e.wrapped = err
118 return e
119}
120
121func (e *ErrNotFound) Error() string {
122 if e.wrapped != nil {

Callers 15

TestErrNotFoundFunction · 0.95
ManualTestFunction · 0.45
UpdateAssetsSubpathInDirFunction · 0.45
GetSubpathFromConfigFunction · 0.45
LicenseFromBytesMethod · 0.45
preloadMigrationsFunction · 0.45
SetupTestResourcesFunction · 0.45
DeleteMethod · 0.45
GetMethod · 0.45
GetActionsForPoliciesMethod · 0.45
GetActionsForPolicyMethod · 0.45

Calls

no outgoing calls

Tested by 6

TestErrNotFoundFunction · 0.76
TestRetryFunction · 0.36
TestSetJobErrorFunction · 0.36
testDoUploadFileRequestFunction · 0.36
TestListUserCmdFMethod · 0.36