MCPcopy
hub / github.com/koderover/zadig / AddErr

Method AddErr

pkg/tool/errors/errors.go:99–102  ·  view source on GitHub ↗

AddErr ...

(err error)

Source from the content-addressed store, hash-verified

97
98// AddErr ...
99func (e *HTTPError) AddErr(err error) *HTTPError {
100 e.desc = err.Error()
101 return e
102}
103
104// NewWithDesc ...
105func NewWithDesc(e error, desc string) error {

Callers 15

CreateUserFunction · 0.80
UpdateUserSettingFunction · 0.80
UpdatePasswordFunction · 0.80
ResetFunction · 0.80
UpdateUserSettingFunction · 0.80
SignUpFunction · 0.80
CreateRoleTemplateFunction · 0.80
CreateRoleImplFunction · 0.80
UpdateRoleImplFunction · 0.80
UpdateRoleTemplateFunction · 0.80
CreateRoleBindingImplFunction · 0.80

Calls 1

ErrorMethod · 0.65

Tested by 2

TestConnectionFunction · 0.64
TestJenkinsConnectionFunction · 0.64