MCPcopy Create free account
hub / github.com/github/gh-aw / Count

Method Count

pkg/workflow/workflow_errors.go:245–247  ·  view source on GitHub ↗

Count returns the number of errors collected

()

Source from the content-addressed store, hash-verified

243
244// Count returns the number of errors collected
245func (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

Calls

no outgoing calls