code: func (eip *EventInProgress) DoneWithErr(err error) {
  	if err != nil {
  		eip.SetError(err)
  	}
  	eip.doneFunc(eip.loggables)
  }
docs: // DEPRECATED use `FinishWithErr`
  // DoneWithErr creates a new Event entry that includes the duration and appended
  // loggables. DoneWithErr accepts an error, if err is non-nil, it is set on
  // the EventInProgress. Otherwise the logic is the same as the `Done()` method