code: func NewInternalError(err error) *StatusError {
  	return &StatusError{metav1.Status{
  		Status: metav1.StatusFailure,
  		Code:   http.StatusInternalServerError,
  		Reason: metav1.StatusReasonInternalError,
  		Details: &metav1.StatusDetails{
  			Causes: []metav1.StatusCause{{Message: err.Error()}},
  		},
  		Message: fmt.Sprintf("Internal error occurred: %v", err),
  	}}
  }
docs: // NewInternalError returns an error indicating the item is invalid and cannot be processed.