Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for fatalIf (0.13 sec)

  1. tests/generics_test.go

    	user := User{Name: "TestGenericsCreate", Age: 18}
    	err := gorm.G[User](DB).Create(ctx, &user)
    	if err != nil {
    		t.Fatalf("Create failed: %v", err)
    	}
    	if user.ID == 0 {
    		t.Fatalf("no primary key found for %v", user)
    	}
    
    	if u, err := gorm.G[User](DB).Where("name = ?", user.Name).First(ctx); err != nil {
    		t.Fatalf("failed to find user, got error: %v", err)
    	} else if u.Name != user.Name || u.ID != user.ID {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 28K bytes
    - Viewed (0)
  2. src/archive/tar/strconv_test.go

    			b.ReportAllocs()
    			for b.Loop() {
    				ts, err := parsePAXTime(tt.in)
    				if (err == nil) != tt.ok {
    					if err != nil {
    						b.Fatal(err)
    					}
    					b.Fatal("expected error")
    				}
    				if !ts.Equal(tt.want) {
    					b.Fatalf("time mismatch: got %v, want %v", ts, tt.want)
    				}
    			}
    		})
    	}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Sep 08 17:08:20 UTC 2025
    - 15K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SmbException.java

         */
        public enum Severity {
            RECOVERABLE, // Can retry the operation
            TRANSIENT, // Temporary error, retry after delay
            PERMANENT, // Operation cannot succeed
            FATAL // Connection or session must be terminated
        }
    
        /**
         * Error categories
         */
        public enum Category {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 6.4K bytes
    - Viewed (0)
Back to top