code: def create(self, group, grouptype):
          
          try:
              self.client.add(
                  self.__distinguished_name(group), API.__object_class(),
                  self.__ldap_attr(group, grouptype))
          except ldap3.core.exceptions.LDAPNoSuchObjectResult:  # pragma: no cover
              print(
                  "Error creating LDAP Group.\nRequest: ",
                  self.__ldap_attr(group, grouptype),
                  "\nDistinguished Name: ",
                  self.__distinguished_name(group),
                  file=sys.stderr)
          except ldap3.core.exceptions.LDAPEntryAlreadyExistsResult:  # pragma: no cover
              print(
                  "Error creating LDAP Group. Group already exists. \nRequest: ",
                  self.__ldap_attr(group, grouptype),
                  "\nDistinguished Name: ",
                  self.__distinguished_name(group),
                  file=sys.stderr)
docs: Create an LDAP Group.
  
          Raises:
              ldap3.core.exceptions.LDAPNoSuchObjectResult:
                  an object involved with the request is missing
  
              ldap3.core.exceptions.LDAPEntryAlreadyExistsResult:
                  the entity being created already exists