code: func (v *Result) AddError(err ResultError, details ErrorDetails) {
  	if _, exists := details["context"]; !exists && err.Context() != nil {
  		details["context"] = err.Context().String()
  	}
  
  	err.SetDescription(formatErrorDescription(err.DescriptionFormat(), details))
  
  	v.errors = append(v.errors, err)
  }
docs: // AddError appends a fully filled error to the error set
  // SetDescription() will be called with the result of the parsed err.DescriptionFormat()