Len returns length of the inner error slice
()
| 348 | |
| 349 | // Len returns length of the inner error slice |
| 350 | func (me *MultiError) Len() int { |
| 351 | if me == nil { |
| 352 | return 0 |
| 353 | } |
| 354 | return len(me.Errors) |
| 355 | } |
| 356 | |
| 357 | // ErrorOrNil |
| 358 | func (me *MultiError) ErrorOrNil() error { |
no outgoing calls