code: func (d *Drain) All() []error {
  	if d == nil || len(d.errors) == 0 {
  		return nil
  	}
  	a := make([]error, 0, len(d.errors))
  	return append(a, d.errors...)
  }
docs: // All returns all errors which stored.  Return nil if no errors stored.