code: func (actor Actor) GetApplicationByNameAndSpace(appName string, spaceGUID string) (Application, Warnings, error) {
  	apps, warnings, err := actor.GetApplicationsByNamesAndSpace([]string{appName}, spaceGUID)
  
  	if err != nil {
  		if _, ok := err.(actionerror.ApplicationsNotFoundError); ok {
  			return Application{}, warnings, actionerror.ApplicationNotFoundError{Name: appName}
  		}
  		return Application{}, warnings, err
  	}
  
  	return apps[0], warnings, nil
  }
docs: // GetApplicationByNameAndSpace returns the application with the given
  // name in the given space.