Count returns the number of errors collected
()
| 243 | |
| 244 | // Count returns the number of errors collected |
| 245 | func (c *ErrorCollector) Count() int { |
| 246 | return len(c.errors) |
| 247 | } |
| 248 | |
| 249 | // Error returns the aggregated error using errors.Join |
| 250 | // Returns nil if no errors were collected |
no outgoing calls