code: func (actor Actor) GetDomain(domainGUID string) (Domain, Warnings, error) {
  	var allWarnings Warnings
  
  	domain, warnings, err := actor.GetSharedDomain(domainGUID)
  	allWarnings = append(allWarnings, warnings...)
  	switch err.(type) {
  	case nil:
  		return domain, allWarnings, nil
  	case actionerror.DomainNotFoundError:
  	default:
  		return Domain{}, allWarnings, err
  	}
  
  	domain, warnings, err = actor.GetPrivateDomain(domainGUID)
  	allWarnings = append(allWarnings, warnings...)
  	switch err.(type) {
  	case nil:
  		return domain, allWarnings, nil
  	default:
  		return Domain{}, allWarnings, err
  	}
  }
docs: // GetDomain returns the shared or private domain associated with the provided
  // Domain GUID.