(errs []string, err error)
| 75 | } |
| 76 | |
| 77 | func AppendErrorString(errs []string, err error) []string { |
| 78 | if err != nil { |
| 79 | errs = append(errs, err.Error()) |
| 80 | } |
| 81 | return errs |
| 82 | } |
| 83 | |
| 84 | func GetErrorOrNil(errs []string) error { |
| 85 | if len(errs) > 0 { |
no test coverage detected
searching dependent graphs…