MCPcopy Create free account
hub / github.com/OpenAtomFoundation/SmartIDE / CheckError

Function CheckError

cli/pkg/common/error.go:28–31  ·  view source on GitHub ↗

数组中是否包含

(err error, headers ...string)

Source from the content-addressed store, hash-verified

26
27// 数组中是否包含
28func CheckError(err error, headers ...string) {
29 errFunc := func(err error) {}
30 CheckErrorFunc(err, errFunc, headers...)
31}
32
33// 是否为退出错误
34func IsExitError(err error) bool {

Callers 15

IsClonedMethod · 0.85
IsFileExistMethod · 0.85
IsDirExistMethod · 0.85
IsDirEmptyMethod · 0.85
ClearMethod · 0.85
RemoveMethod · 0.85
GetContentMethod · 0.85
ConvertFilePathMethod · 0.85
ExecSSHkeyPolicyMethod · 0.85
GetSSHkeyPolicyIdRsaFunction · 0.85
exeSSHCommandConsoleMethod · 0.85

Calls 1

CheckErrorFuncFunction · 0.85

Tested by

no test coverage detected