MCPcopy
hub / github.com/SpecterOps/BloodHound / AsStringSlice

Method AsStringSlice

cmd/api/src/utils/error.go:34–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32type Errors []error
33
34func (s Errors) AsStringSlice() []string {
35 return MapErrorsToStrings(s, func(value error) string {
36 return value.Error()
37 })
38}
39
40func (s Errors) Error() string {
41 return strings.Join(s.AsStringSlice(), "; ")

Callers 1

ErrorMethod · 0.95

Calls 1

ErrorMethod · 0.45

Tested by

no test coverage detected