MCPcopy
hub / github.com/containers/toolbox / Is

Method Is

src/cmd/run.go:1112–1115  ·  view source on GitHub ↗
(target error)

Source from the content-addressed store, hash-verified

1110}
1111
1112func (err *entryPointError) Is(target error) bool {
1113 targetErrMsg := target.Error()
1114 return err.msg == targetErrMsg
1115}

Callers 15

SetUpConfigurationFunction · 0.80
PathExistsFunction · 0.80
RunContextWithExitCodeFunction · 0.80
askForConfirmationAsyncFunction · 0.80
discardInputAsyncFunction · 0.80
pollFunction · 0.80
showManualFunction · 0.80
migrateFunction · 0.80
runCommandFunction · 0.80
handleEntryPointLogFunction · 0.80

Calls 1

ErrorMethod · 0.45

Tested by

no test coverage detected