Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 2,639 for erros (0.03 seconds)

  1. tests/update_has_many_test.go

    func TestUpdateHasManyAssociations(t *testing.T) {
    	user := *GetUser("update-has-many", Config{})
    
    	if err := DB.Create(&user).Error; err != nil {
    		t.Fatalf("errors happened when create: %v", err)
    	}
    
    	user.Pets = []*Pet{{Name: "pet1"}, {Name: "pet2"}}
    	if err := DB.Save(&user).Error; err != nil {
    		t.Fatalf("errors happened when update: %v", err)
    	}
    
    	var user2 User
    	DB.Preload("Pets").Find(&user2, "id = ?", user.ID)
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Jan 06 07:02:53 GMT 2022
    - 2K bytes
    - Click Count (0)
  2. cmd/erasure-sets.go

    -----------------
    failure for all cases.
    
    // Pseudo code for managing `format.json`.
    
    // Generic checks.
    if (no quorum) return error
    if (any disk is corrupt) return error // Always error
    if (jbod inconsistent) return error // Always error.
    if (disks not recognized) // Always error.
    
    // Specific checks.
    if (all disks online)
      if (all disks return format.json)
         if (jbod consistent)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 37K bytes
    - Click Count (1)
  3. src/main/resources/fess_message_pt_BR.properties

    errors.failed_to_find_plugins=Não foram encontrados plugins disponíveis.
    errors.failed_to_process_sso_request=Não foi possível processar a solicitação: {0}
    
    errors.property_required={0} é obrigatório.
    errors.property_type_integer={0} é um número.
    errors.property_type_long={0} é um número.
    errors.property_type_float={0} é um número.
    errors.property_type_double={0} é um número.
    errors.property_type_date={0} é uma data.
    
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 10 04:56:21 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/SmbOperationException.java

            /** Resource errors (out of memory, disk space, etc.) */
            RESOURCE,
            /** Configuration errors */
            CONFIGURATION,
            /** Transient errors that may succeed on retry */
            TRANSIENT,
            /** Unknown or unclassified errors */
            UNKNOWN
        }
    
        /**
         * Standard SMB error codes
         */
        public enum ErrorCode {
            // Network errors
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  5. tests/gorm_test.go

    		if results := DB.Create(&u1); results.Error != nil {
    			t.Fatalf("errors happened on create: %v", results.Error)
    		} else if results.RowsAffected != 1 {
    			t.Fatalf("rows affected expects: %v, got %v", 1, results.RowsAffected)
    		} else if u1.ID == 0 {
    			t.Fatalf("ID expects : not equal 0, got %v", u1.ID)
    		}
    
    		got := user{}
    		results := DB.First(&got, "id = ?", u1.ID)
    		if results.Error != nil {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Jun 01 07:22:21 GMT 2023
    - 3.3K bytes
    - Click Count (0)
  6. tests/hooks_test.go

    	p := Product{Code: "Invalid", Price: 100}
    	if DB.Save(&p).Error == nil {
    		t.Fatalf("An error from before create callbacks happened when create with invalid value")
    	}
    
    	if DB.Where("code = ?", "Invalid").First(&Product{}).Error == nil {
    		t.Fatalf("Should not save record that have errors")
    	}
    
    	if DB.Save(&Product{Code: "dont_save", Price: 100}).Error == nil {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Jun 17 03:59:06 GMT 2024
    - 16.7K bytes
    - Click Count (0)
  7. cmd/sftp-server_test.go

    	newSSHCon := newSSHConnMock("dillon=ldap")
    	_, err = sshPubKeyAuth(newSSHCon, testKey)
    	if err == nil || !errors.Is(err, errAuthentication) {
    		c.Fatalf("expected err(%s) but got (%s)", errAuthentication, err)
    	}
    
    	newSSHCon = newSSHConnMock("dillon")
    	_, err = sshPubKeyAuth(newSSHCon, testKey)
    	if err == nil || !errors.Is(err, errNoSuchUser) {
    		c.Fatalf("expected err(%s) but got (%s)", errNoSuchUser, err)
    	}
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Feb 27 18:43:32 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  8. cmd/peer-rest-server.go

    	globalLocalDrivesMu.RUnlock()
    
    	errs := make([]error, len(localDrives))
    	infos := make([]DiskInfo, len(localDrives))
    	for i, drive := range localDrives {
    		infos[i], errs[i] = drive.DiskInfo(GlobalContext, DiskInfoOptions{})
    	}
    	infoMaps := make(map[string]madmin.DiskMetrics)
    	for i := range infos {
    		if infos[i].Metrics.TotalWaiting >= 1 && errors.Is(errs[i], errFaultyDisk) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 53.6K bytes
    - Click Count (0)
  9. tests/test_additional_responses_custom_validationerror.py

    
    class JsonApiResponse(JSONResponse):
        media_type = "application/vnd.api+json"
    
    
    class Error(BaseModel):
        status: str
        title: str
    
    
    class JsonApiError(BaseModel):
        errors: list[Error]
    
    
    @app.get(
        "/a/{id}",
        response_class=JsonApiResponse,
        responses={422: {"description": "Error", "model": JsonApiError}},
    )
    async def a(id):
        pass  # pragma: no cover
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  10. tests/test_response_class_no_mediatype.py

    
    class Error(BaseModel):
        status: str
        title: str
    
    
    class JsonApiError(BaseModel):
        errors: list[Error]
    
    
    @app.get(
        "/a",
        response_class=Response,
        responses={500: {"description": "Error", "model": JsonApiError}},
    )
    async def a():
        pass  # pragma: no cover
    
    
    @app.get("/b", responses={500: {"description": "Error", "model": Error}})
    async def b():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 3.3K bytes
    - Click Count (0)
Back to Top