NewAggregateError creates a new AggregateError
()
| 388 | |
| 389 | // NewAggregateError creates a new AggregateError |
| 390 | func NewAggregateError() *AggregateError { |
| 391 | return &AggregateError{ |
| 392 | errs: make(map[string]error, 0), |
| 393 | } |
| 394 | } |
| 395 | |
| 396 | func (e *AggregateError) Error() string { |
| 397 | return fmt.Sprintf("aggregate error: one or more operation failed") |
no outgoing calls
no test coverage detected